Question: MATLAB: Turn this for loop into a while loop n1=1; n2=2; n3=3; n4=8; y1=[]; y2=[]; y3=[]; y4=[]; x=-180:10:180; for i=-180:10:180 y1=[y1,mysind(i,n1)]; y2=[y2,mysind(i,n2)]; y3=[y3,mysind(i,n3)]; y4=[y4,mysind(i,n4)]; end
MATLAB: Turn this for loop into a while loop n1=1; n2=2; n3=3; n4=8; y1=[]; y2=[]; y3=[]; y4=[]; x=-180:10:180; for i=-180:10:180 y1=[y1,mysind(i,n1)]; y2=[y2,mysind(i,n2)]; y3=[y3,mysind(i,n3)]; y4=[y4,mysind(i,n4)]; end
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
