photo

Elisa


Last seen: 23日 前 2024 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 2

バッジを表示

Feeds

表示方法

質問


trying to extract the months to create a format looks like 202404, how to do that ?
Date=datetime(raw.textdata(2:end,1),'InputFormat','dd-MMM-yy');%convert the data to date time yr = year(Date); % Extract the...

約1ヶ月 前 | 0 件の回答 | 0

0

回答

質問


pls help me fix this i trying to find the earning and savings of it trough loops but it say the index exceed numbers of array
savings=[];%initial saving vectors earnings=zeros(1,1212);%initial earning vectors T_earnings_Jul=0;%initial total earning vec...

約1ヶ月 前 | 1 件の回答 | 0

1

回答

質問


trying to extract the months to create a format looks like 202404, how to do that ?
Date=datetime(raw.textdata(2:end,1),'InputFormat','dd-MMM-yy');%convert the data to date time yr = year(Date); % Extract the...

約1ヶ月 前 | 4 件の回答 | 0

4

回答

質問


I am trying to convert the date data from the CSV file to datetime, but it shows error, how do I fix this
dates=string(raw.textdata(2:end,1));%import the string dates from the data dates=datetime(dates,'InputFormat','dd/MM/yy'); %con...

約2ヶ月 前 | 2 件の回答 | 0

2

回答

質問


having the same problem about the arrays
daily_savings=zeros(1505,1);%initial saving vectors daily_earnings=zeros(1505,1);%initial earning vectors % Loop through each ...

約2ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Two variable has the same array of 1 but the code show error
self_suf=Production./T_Consumption;%self sufficiency days_a50=sum(self_suf>0.5);%days with self sufficency above 50% avg_produ...

約2ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
my graph won't show the exponential graph as the alpha value is 0, can someone help fix this problem?
i found that the a0 vlues will be the same value as the exponential e(1), which is why that causes alpha to be 0, but how to fix...

2ヶ月 前 | 0

質問


my graph won't show the exponential graph as the alpha value is 0, can someone help fix this problem?
%a cockrach=importdata('cockroach_population.xlsx'); num_cockrach=cockrach.data; days=num_cockrach(:,1); cockraches=num_cock...

2ヶ月 前 | 1 件の回答 | 0

1

回答

質問


The same plotting problem, it is appear that one of the marker does not show on the graph but it should have been properly plot and the legend has shown properly too
% Plot figure; plot(l_new, angular_a_n, 'b'); xlabel('Arm Length (m)'); ylabel('Angular Acceleration (rad/s^2)'); title('An...

3ヶ月 前 | 3 件の回答 | 0

3

回答

質問


i try to put two plot in one graph using legend but one of them just looks been 'cut off', can someone help me to fix this problem
x0=2.1; g=9.81; k=45; m=7; t=0:0.1:6; x1=@(t) x0*cosd(t*(sqrt(k/m))); x_t_undamped=x1(t); %ii figure plot(x_t_undamped,...

3ヶ月 前 | 2 件の回答 | 0

2

回答

質問


my for loop stop after the first valid number has been found how do i fix this
I am new to Matlab, just learned the for loop, basically the loop run properly, but stop after the first valid number has found....

3ヶ月 前 | 1 件の回答 | 0

1

回答