Question: Given the following function for MATLAB below what is the answer that comes back in MATLAB if the following command is given; >> test1_prob5(3,11)
Given the following function for MATLAB below what is the answer that comes back in MATLAB if the following command is given; >> test1_prob5(3,11) function sumy = test1_prob5 (n1, n2) x = linspace (n1, n2, 1); y = x.^(5.47) - x.^2 + x.^(1.17) + 1; sumy = sum (y) end sumy = (4-Digits, 12 pts)
Step by Step Solution
3.51 Rating (158 Votes )
There are 3 Steps involved in it
Step 11 MATLAB script for function file funct... View full answer
Get step-by-step solutions from verified subject matter experts
