Feeds
提问
how to set the final value for a for loop
t=0.01 for i=1:82 t(i+1)=t(i)*(1.1) if t > 24 t = 24; end end The final value is 24.7, I want to make the l...
4 years 前 | 1 个回答 | 0
1
个回答提问
how to set a loop to calculate time
I'm trying to calculate time starting at 0.01 hrs and increasing by 1.1 until it reaches 24 hrs, for i=1:83 t=0.01 t...
4 years 前 | 2 个回答 | 1
2
个回答提问
how to get real values in an exponential integral .
I have this code which includes an exponential integral, and the results I get back has an i value in them, and I was wondering ...
4 years 前 | 0 个回答 | 0
0
个回答提问
for loop with the same variable but two values
I have a for loop which is the following for i=1:2 bm(i) = bm + yi(i)*b1(i); for j=1:2 aam(i,j)=aam+yi(i)*yi(j)*sqrt(...
4 years 前 | 2 个回答 | 0
2
个回答提问
for loop only gives me one value
hello, i'm trying to write this code, however when I calculate xi it keep giving me one value, even though both alpha_g and ki_1...
4 years 前 | 2 个回答 | 0
2
个回答提问
loop results on the same result
Hello, I'm trying to calculate a variable with in a loop, yet the loop always result on the same value, I've done the calculatio...
4 years 前 | 1 个回答 | 0
1
个回答提问
Index exceeds the number of array elements (1).
Hello I'm facing this problem and I don't understand why all my variables are compatable. Index exceeds the number of array ele...
4 years 前 | 1 个回答 | 0
1
个回答提问
I have more than two rows I need to import from an excel sheet
Hello, I have more that two rows from an excel sheet that I need to import, I'm using xlsread and when I run the code it comes b...
4 years 前 | 1 个回答 | 0
