Question: [ 3 ] - 1 0 points - Give a short answer for the following questions ( MATLAB ) : ( a ) What is

[3]-10 points - Give a short answer for the following questions(MATLAB):
(a) What is wrong with this while loop?
x=sin();y=2;
while x>0
z=x+y;
end
(b) After how many cycles will this for-loop end?
x=1;y=2;
for i=1:2:50
for i=1:2:50
z=x+y;
end
[ 3 ] - 1 0 points - Give a short answer for the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!