This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CW1 Curtis, Ryan 10W-GV 1/19/11 1/ 2 Worksheet1 answers: 1. What are three types of values in MATLAB? a. Scalars b. String c. Boolean 2. What are three ways to run a script file? a. In command window and you type the program name __________________________________________________ b. Have program open and click the Green arrow (save and run)_______________________________________________ c. Going through the debug menu_________________________________ 3. Files names and directories: what happens: a. None b. ??? Undefined function or variable 'w1ws'. Comes up in red__________________________________________________ c. It gives me variables a-f in the workspace and ABEF in the command window_____________________________________ d. ??? Undefined function or method 'w1' for input arguments of type 'char'. e. Same thing comes up as what happened in part d, ??? Undefined function or method 'w1' for input arguments of type 'char'. 4. Comments: a. None b. None c. A is the radius B is the height C is the area circle D is circumference of a circle E is the volume of a cylinder F is the...
View Full Document
- Spring '06