(c) Explain what is happening in the following four lines of MATLAB code, and show what the values of y1 and y2 will be.
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
(c) Explain what is happening in the following four lines of MATLAB code, and show what the values of y1 and y2 will be.
(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)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!