Using MATLAB codes and show the outputs Write a script m-file that calls the fun
ID: 2247546 • Letter: U
Question
Using MATLAB codes and show the outputs
Write a script m-file that calls the function nest() to evaluate P(-2), where P(x) is defined in Problem 1 of the Theoretical Problems. You do not have to pass the 4^th argument to the function (the base points) - just the first 3 arguments. Run your script and give the output. The function nest() is provided in the MATLAB Code folder in your eLearning course Math 4334.701 - FL17 or CS 4334.701 - FL17. Note that using nest() may require a different number of flops from your result in Problem 1, but use as few flops as possible when applying nest().Explanation / Answer
%% MATLAB code
f=[3 -1 2 -7 5 ];
p=[30 24 12 6 0];
c=-2;
%% It is assumed that nest function takes argument in this order.
%% If it does not give proper answer. then please provide nest() function. I will modify accordingly
P=nest(p,f,c);
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.