Question: 7. Write a MATLAB script that: - interacts with the user to get any three numbers a, b and c. - calls a MATLAB function
7. Write a MATLAB script that: - interacts with the user to get any three numbers a, b and c. - calls a MATLAB function called my function that calculates the average of these three numbers. - on the main script, displays the phrase "The average is ", followed by the average obtained using my function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
