Professional Documents
Culture Documents
If the radius of the cylinder is 0.1 m and the length is 0.5 m. define the volume of the
cylinder using the MATLAB statements (Script file).
2. Suppose that a= 1 and b = 2. Evaluate the following expressions using MATLAB script
3. Assume that array c is defined as shown, and determine the contents of the following sub-
arrays:
6. Use MATLAB script file for the following statements to obtain the function
for the range
Creating Scripts and Understanding Comments 5 CSC209
7. Suppose that u=1 and v= 3. Evaluate the following expressions using MATLAB script:
8. Suppose that x = 2 and y = -1. Evaluate the following expressions using MATLAB script:
9. Use one MATLAB script file to contain the following statements to answer the questions