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 /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
Get step-by-step solutions from verified subject matter experts
