Vous êtes sur la page 1sur 4

# 9/2/2017 Control Tutorials for MATLAB and Simulink - Index: MATLAB Commands List

SYSTEM

## MODELING Index: MATLAB Commands List

ANALYSIS
Following is a list of commands used in the Control Tutorials for MATLAB

and Simulink. Use help in MATLAB for more information on how to use any
CONTROL
of these commands.

PID
In these tutorials, we use commands/functions from MATLAB, from the

ROOT LOCUS Control Systems Toolbox, as well as some functions which we wrote

ourselves. For those functions which are not standard in MATLAB, we give
FREQUENCY
links to their descriptions. For more information on writing MATLAB
STATE-SPACE functions, see the function page.

DIGITAL
Command Description

## abs Absolute value

SIMULINK
Compute the K matrix to place the poles of A-BK, see
acker
MODELING also place

CONTROL axis Set the scale of the current plot, see also plot, figure

bode
nyquist1

conv
also deconv

## Linear-quadratic regulator design for discrete-time

dlqr
systems, see also lqr

## also subplot, axis

http://ctms.engin.umich.edu/CTMS/index.php?aux=Index_Commands 1/4
9/2/2017 Control Tutorials for MATLAB and Simulink - Index: MATLAB Commands List

## grid Draw the grid lines on the current plot

gtext Add a piece of text to the current plot, see also text

imag
also real

impulse
lsim

lnyquist
also nyquist1

## Linear quadratic regulator design for continuous

lqr
systems, see also dlqr

## Returns the gain margin, phase margin, and

margin
crossover frequencies, see also bode

## Produces a minimal realization of a system (forces

minreal
pole/zero cancellations)

## command was written to replace the MATLAB

nyquist1
standard command nyquist to get more accurate

Nyquist plots.

## ones Returns a vector or matrix of ones, see also zeros

http://ctms.engin.umich.edu/CTMS/index.php?aux=Index_Commands 2/4
9/2/2017 Control Tutorials for MATLAB and Simulink - Index: MATLAB Commands List

also acker

## Find the number of linearly independent rows or

rank
columns of a matrix

## Returns the real part of a complex number, see also

real
imag

rlocfind Find the value of k and the poles at the selected point

## Set(gca,'Xtick',xticks,'Ytick',yticks) to control the

set
number and spacing of tick marks on the axes

## Generate grid lines of constant damping ratio (zeta)

sgrid
and natural frequency (Wn), see also sigrid, zgrid

size
length

## Create state-space models or convert LTI model to

ss
state space, see also tf

subplot
figure

## Add a piece of text to the current plot, see also title,

text
xlabel, ylabel, gtext

## Creation of transfer functions or conversion to

tf
transfer function, see also ss

## Returns the bandwidth frequency given the damping

wbw
ratio and the rise or settling time.

http://ctms.engin.umich.edu/CTMS/index.php?aux=Index_Commands 3/4
9/2/2017 Control Tutorials for MATLAB and Simulink - Index: MATLAB Commands List

## xlabel/ylabel Add a label to the horizontal/vertical axis of the

current plot, see also title, text, gtext

## Generates grid lines of constant damping ratio (zeta)

zgrid
and natural frequency (Wn), see also sgrid, sigrid

## All contents licensed under a Creative Commons Attribution-ShareAlike 4.0

International License.

http://ctms.engin.umich.edu/CTMS/index.php?aux=Index_Commands 4/4