EX When you do not specify an output variable, MATLAB uses the variable ans. short for answer to store the results of your calculation sin(a) ans 0.8415 f you end a statement with a semicolon, MATLaB performs the computation, but suppresses the display of output in the command window e=at
Ex2 • When you do not specify an output variable, MATLAB uses the variable ans, short for answer, to store the results of your calculation. >>sin(a) ans = 0.8415 • If you end a statement with a semicolon, MATLAB performs the computation, but suppresses the display of output in the Command Window. >>e = a*b; 11
Outline Matlab description Where is matlab · What is matlab Matlab Desktop MATLAB Math Operators Matrix and array Creation, Operation, Concatenation Workspace variables Calling Functions 12
Outline ➢ Matlab Description • Where is Matlab • What is Matlab • Matlab Desktop • MATLAB Math Operators ➢ Matrix and Array • Creation, Operation, Concatenation ➢ Workspace Variables ➢ Calling Functions 12