O'Reilly logo

Process Control: Modeling, Design, and Simulation by B. Wayne Bequette

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

M1.9. Summary of Commonly Used Commands

axisaxis limits for plots
clearremoves all variables from workspace
diarysave the text of a MATLAB session
endend of loop
expexponential function
figure(n)generates a figure window
forgenerates loop structure
formatoutput display format
functionuser generated function
gtextplace text on a plot
helphelp function
holdholds current plot and allows new plot to be placed on current plot
ifconditional test
lengthlength of a vector
lookforkeyword search on help variables
plotplots vectors
sizesize of the array (rows, columns)
subplotmultiple plots in a figure window
whoview variables in workspace
whosview variables in workspace, with more detail (size, etc.)
*matrix multiplication
'transpose
;suppress printing (also end of row, when ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required