Question: Please do in Matlab , this problem should write ( function form )first, after that used that in contMat1.m Consider the following continuous mathematical function
Consider the following continuous mathematical function y -f(x): y-1 for x -1 y 4 for x 2 Using if-else statement, write a script called contMati.m that prompts the user for a value for x and returns a value for y using the function y - f(x)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
