Question: 0.5x3_x2 x-x-20 Consider the function f(x) = a) Define f(x) using an @ function handle. b) Write a MATLAB script that plots f(x) in

0.5x3_x2 x-x-20 Consider the function f(x) = a) Define f(x) using an @ function handle. b) Write a MATLAB script that plots f(x) in the interval -15 x 15. Use the plot function. Hint: divide the interval of x into three parts: [-15, x-8], [x+, X2-] and [x+, 15], where & is a small number (e.g. = 0.001). c) Redo Part (b) using the fplot function. which has two vertical asymptotes at x = - 4 and x = 5.
Step by Step Solution
3.47 Rating (147 Votes )
There are 3 Steps involved in it
Sure lets break this down step by step a First lets define the function fx usi... View full answer
Get step-by-step solutions from verified subject matter experts
