. Prepare a Matlab script that does the following: • Defines an anonymous function for f = x 2 – e x
. Prepare a Matlab script that does the following: • Defines an anonymous function for f = x 2 − e x . • Generates(and saves for example as x) a sampling array on the interval [−π n, e10 + m] with a sampling distance of 1000 where n = first 2digits of your student id no and m = last 7 digits of your studentid number (so that nm is your student id number). • Evaluates the function on this array to generate theevaluations (for example as y). • Plots the graph of this function using these arrays. • Also save the resulting graph as graph1.png and attach to yoursubmission. • So, your solution to this question should contain script1.mand graph1.png or jpg or pdf. Attached
Needs help with similar assignment?
We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paperGet Answer Over WhatsApp Order Paper Now