Page 1 of 1

(c) Explain what is happening in the following four lines of MATLAB code, and show what the values of y1 and y2 will be.

Posted: Mon May 09, 2022 7:04 am
by answerhappygod
C Explain What Is Happening In The Following Four Lines Of Matlab Code And Show What The Values Of Y1 And Y2 Will Be 1
C Explain What Is Happening In The Following Four Lines Of Matlab Code And Show What The Values Of Y1 And Y2 Will Be 1 (30.36 KiB) Viewed 31 times
(c) Explain what is happening in the following four lines of MATLAB code, and show what the values of y1 and y2 will be. = 11 = @max 12 = @min y1 = feval(f1,10,20); y2 = feval(t2, 10, 20); What are the potential benefits of using @ and feval, and name a MATLAB function that makes use of these mechanisms. [5 marks)