Matlab Commands
Matlab Commands
MATLAB is an interactive program for numerical computation and data visualization. You can
enter a command by typing it at the MATLAB prompt '>>' on the Command Window.
In this section, we will provide lists of commonly used general MATLAB commands.
Command Purpose
It also provides various commands for other system-related activities like, displaying date, listing
files in the directory, displaying current directory, etc.
Command Purpose
Command Purpose
The fscanf and fprintf commands behave like C scanf and printf functions. They support the
following format codes −
%s Format as a string.
%d Format as an integer.
The format function has the following forms used for numeric display −
Command Purpose
Plotting Commands
MATLAB provides numerous commands for plotting graphs. The following table shows some of the
commonly used commands for plotting −
Command Purpose
Loading [MathJax]/jax/output/HTML-CSS/jax.js