Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started