Question: MATLAB Can u explain why the answer is b? Question 5 /Bellow is the code for a function called exam! For LoopQuestion: (5 points) function

 MATLAB Can u explain why the answer is b? Question 5

MATLAB

Can u explain why the answer is b?

Question 5 /Bellow is the code for a function called exam! For LoopQuestion: (5 points) function [A] exam! ForLoopQuestion (start,step,stop) for indexstart:step:stop A (index) index 2 if index == 3 A(index) -index"2 = end end end What will the following function call return: >> [A] examL ForLoopQuestion (7,-2,0) , 5, 3,1 a) A [1 9 25 49] DA = [1 0 9/ 0 25 0 49] d) A 149 259 1 d) A=[49./O 25,. 0-9 0 1] e) Error Subscript indices must either be real positive integers or logicals

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 Databases Questions!