Feeds
提问
Syms function no longer works in a for loop which stores data
x= NaN(2,1); syms F q L; for i = 1:2 for j = 1:2 K(i,j) = F*(L^(i+j+1))*((((i+1)*(j+1))/(i+j+1))+ ((i*j)/(i+j-1)...
5 years 前 | 1 个回答 | 0
1
个回答提问
Error: Array indices must be positive integers or logical values.
I have the following code: theta = [0,45,60] for i =1:3 if i-1 == 0; theta(i-1) = 0 end en...
6 years 前 | 2 个回答 | 0