Hello,
I have to place 49 equally spaced points in A+jB form in a 100×100 space and write them in an array. For that purpose I first divided the 100×100 space in 7 equal parts both vertically and horizontally by using "linspace" command and then I tried to create the array with "for" loops but it doesn't work. Here's my code below, I hope someone can help me on this. Thanks in advance.
A=linspace(0,100,7);B=linspace(0,100,7);for k=1:7 for i=1:7 for l=1:49 S=A(k)+j*B(i) if true % code
end S(l)=S; endendend
Best Answer