Question: This is a problem for MATLAB program Please, explain step by step with code. 2. You are to write a script that will call a
This is a problem for MATLAB program
Please, explain step by step with code.

2. You are to write a script that will call a function that calculates the volume and surface area ofa rectangular prism. The equations for volume and surface area are Ask the user to enter the length, width, and height values. You will pass these values to the function as inputs. The function will then calculate volume and surface area. These two values will then be retuned to the script as two separate output variables. Use a formatted print statement to display the results. I got the following Enter the length, width, and height values in vector form: [2,341 v = 24.00 and SA 52.00 f r 1 = 2.00, w = 3.00, and h = 4.00 2. You are to write a script that will call a function that calculates the volume and surface area ofa rectangular prism. The equations for volume and surface area are Ask the user to enter the length, width, and height values. You will pass these values to the function as inputs. The function will then calculate volume and surface area. These two values will then be retuned to the script as two separate output variables. Use a formatted print statement to display the results. I got the following Enter the length, width, and height values in vector form: [2,341 v = 24.00 and SA 52.00 f r 1 = 2.00, w = 3.00, and h = 4.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
