Hi there! I am trying to write a 'for' loop which does the following:
for i = 1:9 a = a0i; b = b0i; cx = c0i(:, 1); cy = c0i(:, 2); t = t00i; foneplotp(a, b, cx, cy, t, period)end
I have matrices labeled a01, a02, a03, etc. in my workspace, but when I try to run this, I get the error:
Undefined function or variable 'a0i'.
Is there a way to do this with a 'for' loop in MATLAB?
Thanks!
Miranda
Best Answer