Question: PROBLEM 1 (60 PTS) You are asked to create a program using MATLABr. The program should consist in: a script file, a function file, and
PROBLEM 1 (60 PTS) You are asked to create a program using MATLABr. The program should consist in: a script file, a function file, and an output file. All input and output must be done from the script file only. All output must be done to an external file. The files must be well documented. The following is a description of what the program should do: 1. The function cadprog takes as input three arbitrary real numbers a, b and c. The output variables should be:
PROBLEM 2 (40 PTS) Consider the following MATLABr function: 

PROBLEM 1 (G0 PTs) You are asked to creste a program uing MATLAB The program should consist in:a script file, a Function external file. The ile mut be well doeumented. The following is a description of what, the program should do: 1. The fuaction cadprog takes as input three arbitrary real umbers a. & and e. The output variables should be (a) -ae (b) a-Inc ake sure the funetion does not print anything. 2. The seript ile should (a) Contain all the input variabless b) Print te int variables (with an explnaatiu Call the Fuacticns cadprog(b,c,a) d) The outpst ould be given in an external file called cadprog.txt Document everything carefully, 4. Use the following values in yo.ur seript file to verify your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
