Command MATLAB
Command MATLAB
•Current Folder − This panel allows you to access the project folders and files
Command Window − This is the main area where commands can be entered at the command line. It is indicated by the command
prompt (>>)
Workspace − The workspace shows all the variables created and/or imported from files
Command History − This panel shows or return commands that are entered at the command line
Commonly used Operators and Special Characters
MATLAB supports the following commonly used operators and special characters −
Name Meaning
ans Most recent answer.
eps Accuracy of floating-point precision.
i,j The imaginary unit √-1.
Inf Infinity.
NaN Undefined numerical result (not a number).
pi The number π
Command Purpose
close all Closes all plots. semilogy Creates semilog plot. (logarithmic ordinate).