Matlab Ni-Chun

Matlab Ni-Chun - Command Window Introduction to Matlab TA...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to Matlab TA: Ni-Chun Wang [email protected] 2010/4/1 Discussion 1A, 1D, 1F (Ni-Chun Wang) 2 Command Window type here 2010/4/1 Discussion 1A, 1D, 1F (Ni-Chun Wang) 3 Workspace You don’t need to declare the variables. All the variables being used can be found in the workspace. You can check the values of the variables in the workspace. 2010/4/1 Discussion 1A, 1D, 1F (Ni-Chun Wang) 4 Delete Variables >>clear var_A % delete the variable var_A >>clear var_A var_B % delete both var_A and var_B >>clear var* % delete all variables that start with the letters “var” >>clear % delete ALL variables (All text after a percent sign (%) is taken as a comment statement.)
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon