for loop for variables
1 view (last 30 days)
can anybody tell how can run this code. I wan to find volume varition that depenf on Xd and Xp
Alan Stevens on 23 Nov 2020
You probably want o = 90; not 0 = 90;
Also, Matlab indexing starts at 1 not zero, so, perhaps, t = 1:101, then xd(t) = sin(wd*(t-1)); etc.
To save all values of v1 you want v1(t) = ... Similarly for v11
You also need to define Abd.