Question: MATLAB This example uses a simple problem to demonstrate how to create a MATLAB coding problem where the student solution must be a script. Assessments
MATLAB

This example uses a simple problem to demonstrate how to create a MATLAB coding problem where the student solution must be a script. Assessments in script problem types have access to all variables in the student workspace, making it possible to check intermediate steps as well as the final solution. Step 1: Use this area to set up the problem and describe the task(s) the student solution will be assessed on. For example: Recall from class that the equation for computing to volume of a cone is Write a script that: computes the volume of a cone with radius 5 mm and height h 12 mm. Assigns the resulting value (in mm2) to a variable named vol. Step 2: Select "Script" for the Problem Type below Your Script C Reset MATLAB Documentation 1 % Step 4: If desired, provide template code for the student solution. 2 Clicking the lock icon prevents changes to that line of code. 3 % Next: click on "+Add Assessment" below 5 % cone parameters 17h=12 Compute the volume of the cone using variables r and h 10 Run Script
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
