Comments/Statements
The comment symbol in matlab is the percent sign %.
To terminate the output of a command statement, end the command with a semi-colon (;);
Use ellipses ... to continue command line input onto another line
Samples
x = sin(1.0) % evalutes sin(1.0) x = 0.8415 x = sin(1.0); % evalutes sin(1.0) silently
UCLA Mathematics Department | ©2000 |