Question: a matlab program (6) The following codes are in one Matlab script, write the output for a. u = (3, 2, 8, 1, 7); a

a matlab program
(6) The following codes are in one Matlab script, write the output for a. u = (3, 2, 8, 1, 7); a = myfun2(u) function p = myfun2(x) for i=1: length(x) y(i) = x(i) * 2: end p = myfunl(y); end function xsmall = myfunl(x) xsmall = x(x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
