声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1121|回复: 1

[分享]Matlab指令集

[复制链接]
发表于 2006-4-3 18:55 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
<DIV align=left></DIV>
<P>
<P><FONT face="Times New Roman" size=3></P>
<DIV align=center>
<TABLE cellPadding=0 border=1>

<TR>
<TD>
<P align=center><B>Command</B><B>
<br></B>
<p></TD>
<TD>
<P align=center><B>Description</B><B>
<p></B>
<p></TD></TR>
<TR>
<TD>
<P>abs
<p>
<p></TD>
<TD>
<P>Absolute value
<p>
<p></TD></TR>
<TR>
<TD>
<P>acker
<p>
<p></TD>
<TD>
<P>Compute the K matrix to place the poles of A-BK, see also place
<p>
<p></TD></TR>
<TR>
<TD>
<P>axis
<p>
<p></TD>
<TD>
<P>Set the scale of the current plot, see also plot, figure
<p>
<p></TD></TR>
<TR>
<TD>
<P>bode
<p>
<p></TD>
<TD>
<P>Draw the Bode plot, see also logspace, margin, nyquist1
<p>
<p></TD></TR>
<TR>
<TD>
<P>c2dm
<p>
<p></TD>
<TD>
<P>Continuous system to discrete system
<p>
<p></TD></TR>
<TR>
<TD>
<P>clf
<p>
<p></TD>
<TD>
<P>Clear figure (use clg in Matlab 3.5)
<p>
<p></TD></TR>
<TR>
<TD>
<P>conv
<p>
<p></TD>
<TD>
<P>Convolution (useful for multiplying polynomials), see also deconv
<p>
<p></TD></TR>
<TR>
<TD>
<P>ctrb
<p>
<p></TD>
<TD>
<P>The controllability matrix, see also obsv
<p>
<p></TD></TR>
<TR>
<TD>
<P>deconv
<p>
<p></TD>
<TD>
<P>Deconvolution and polynomial division, see also conv
<p>
<p></TD></TR>
<TR>
<TD>
<P>det
<p>
<p></TD>
<TD>
<P>Find the determinant of a matrix
<p>
<p></TD></TR>
<TR>
<TD>
<P>dimpulse
<p>
<p></TD>
<TD>
<P>Impulse response of discrete-time linear systems, see also dstep
<p>
<p></TD></TR>
<TR>
<TD>
<P>dlqr
<p>
<p></TD>
<TD>
<P>Linear-quadratic requlator design for discrete-time systems, see also lqr
<p>
<p></TD></TR>
<TR>
<TD>
<P>dlsim
<p>
<p></TD>
<TD>
<P>Simulation of discrete-time linear systems, see also lsim
<p>
<p></TD></TR>
<TR>
<TD>
<P>dstep
<p>
<p></TD>
<TD>
<P>Step response of discrete-time linear systems, see also stairs
<p>
<p></TD></TR>
<TR>
<TD>
<P>eig
<p>
<p></TD>
<TD>
<P>Compute the eigenvalues of a matrix
<p>
<p></TD></TR>
<TR>
<TD>
<P>eps
<p>
<p></TD>
<TD>
<P>Matlab's numerical tolerance
<p>
<p></TD></TR>
<TR>
<TD>
<P>feedback
<p>
<p></TD>
<TD>
<P>Feedback connection of two systems.
<p>
<p></TD></TR>
<TR>
<TD>
<P>figure
<p>
<p></TD>
<TD>
<P>Create a new figure or redefine the current figure, see also subplot, axis
<p>
<p></TD></TR>
<TR>
<TD>
<P>for
<p>
<p></TD>
<TD>
<P>For, next loop
<p>
<p></TD></TR>
<TR>
<TD>
<P>format
<p>
<p></TD>
<TD>
<P>Number format (significant digits, exponents)
<p>
<p></TD></TR>
<TR>
<TD>
<P>function
<p>
<p></TD>
<TD>
<P>Creates function m-files
<p>
<p></TD></TR>
<TR>
<TD>
<P>grid
<p>
<p></TD>
<TD>
<P>Draw the grid lines on the current plot
<p>
<p></TD></TR>
<TR>
<TD>
<P>gtext
<p>
<p></TD>
<TD>
<P>Add a piece of text to the current plot, see also text
<p>
<p></TD></TR>
<TR>
<TD>
<P>help
<p>
<p></TD>
<TD>
<P>HELP!
<p>
<p></TD></TR>
<TR>
<TD>
<P>hold
<p>
<p></TD>
<TD>
<P>Hold the current graph, see also figure
<p>
<p></TD></TR>
<TR>
<TD>
<P>if
<p>
<p></TD>
<TD>
<P>Conditionally execute statements
<p>
<p></TD></TR>
<TR>
<TD>
<P>imag
<p>
<p></TD>
<TD>
<P>Returns the imaginary part of a complex number, see also real
<p>
<p></TD></TR>
<TR>
<TD>
<P>impulse
<p>
<p></TD>
<TD>
<P>Impulse response of continuous-time linear systems, see also step, lsim, dlsim
<p>
<p></TD></TR>
<TR>
<TD>
<P>input
<p>
<p></TD>
<TD>
<P>Prompt for user input
<p>
<p></TD></TR>
<TR>
<TD>
<P>inv
<p>
<p></TD>
<TD>
<P>Find the inverse of a matrix
<p>
<p></TD></TR>
<TR>
<TD>
<P><a href="http://www.engin.umich.edu/group/ctm/extras/jgrid.html" target="_blank" >jgrid</A>
<p>
<p></TD>
<TD>
<P>Generate grid lines of constant damping ratio (zeta) and settling time (sigma), see also sgrid, sigrid, zgrid
<p>
<p></TD></TR>
<TR>
<TD>
<P>legend
<p>
<p></TD>
<TD>
<P>Graph legend
<p>
<p></TD></TR>
<TR>
<TD>
<P>length
<p>
<p></TD>
<TD>
<P>Length of a vector, see also size
<p>
<p></TD></TR>
<TR>
<TD>
<P>linspace
<p>
<p></TD>
<TD>
<P>Returns a linearly spaced vector
<p>
<p></TD></TR>
<TR>
<TD>
<P><a href="http://www.engin.umich.edu/group/ctm/extras/lnyquist1.html" target="_blank" >lnyquist1</A>
<p>
<p></TD>
<TD>
<P>Produce a Nyquist plot on a logarithmic scale, see also nyquist1
<p>
<p></TD></TR>
<TR>
<TD>
<P>log
<p>
<p></TD>
<TD>
<P>natural logarithm, also log10: common logarithm
<p>
<p></TD></TR>
<TR>
<TD>
<P>loglog
<p>
<p></TD>
<TD>
<P>Plot using log-log scale, also semilogx/semilogy
<p>
<p></TD></TR>
<TR>
<TD>
<P>logspace
<p>
<p></TD>
<TD>
<P>Returns a logarithmically spaced vector
<p>
<p></TD></TR>
<TR>
<TD>
<P>lqr
<p>
<p></TD>
<TD>
<P>Linear quadratic regulator design for continuous systems, see also dlqr
<p>
<p></TD></TR>
<TR>
<TD>
<P><a href="http://www.engin.umich.edu/group/ctm/extras/lsim.html" target="_blank" >lsim </A>
<p>
<p></TD>
<TD>
<P>Simulate a linear system, see also step, impulse, dlsim.
<p>
<p></TD></TR>
<TR>
<TD>
<P>margin
<p>
<p></TD>
<TD>
<P>Returns the gain margin, phase margin, and crossover frequencies, see also bode
<p>
<p></TD></TR>
<TR>
<TD>
<P>norm
<p>
<p></TD>
<TD>
<P>Norm of a vector
<p>
<p></TD></TR>
<TR>
<TD>
<P><a href="http://www.engin.umich.edu/group/ctm/extras/nyquist1.html" target="_blank" >nyquist1</A>
<p>
<p></TD>
<TD>
<P>Draw the Nyquist plot, see also lnyquist1. Note this command was written to replace the Matlab standard command nyquist to get more accurate Nyquist plots.
<p>
<p></TD></TR>
<TR>
<TD>
<P>obsv
<p>
<p></TD>
<TD>
<P>The observability matrix, see also ctrb
<p>
<p></TD></TR>
<TR>
<TD>
<P>ones
<p>
<p></TD>
<TD>
<P>Returns a vector or matrix of ones, see also zeros
<p>
<p></TD></TR>
<TR>
<TD>
<P>place
<p>
<p></TD>
<TD>
<P>Compute the K matrix to place the poles of A-BK, see also acker
<p>
<p></TD></TR>
<TR>
<TD>
<P><a href="http://www.engin.umich.edu/group/ctm/extras/plot.html" target="_blank" >plot </A>
<p>
<p></TD>
<TD>
<P>Draw a plot, see also figure, axis, subplot.
<p>
<p></TD></TR>
<TR>
<TD>
<P>poly
<p>
<p></TD>
<TD>
<P>Returns the characteristic polynomial
<p>
<p></TD></TR>
<TR>
<TD>
<P><a href="http://www.engin.umich.edu/group/ctm/extras/polyadd.html" target="_blank" >polyadd</A>
<p>
<p></TD>
<TD>
<P>Add two different polynomials
<p>
<p></TD></TR>
<TR>
<TD>
<P>polyval
<p>
<p></TD>
<TD>
<P>Polynomial evaluation
<p>
<p></TD></TR>
<TR>
<TD>
<P>print
<p>
<p></TD>
<TD>
<P>Print the current plot (to a printer or postscript file)
<p>
<p></TD></TR>
<TR>
<TD>
<P>pzmap
<p>
<p></TD>
<TD>
<P>Pole-zero map of linear systems
<p>
<p></TD></TR>
<TR>
<TD>
<P>rank
<p>
<p></TD>
<TD>
<P>Find the number of linearly independent rows or columns of a matrix
<p>
<p></TD></TR>
<TR>
<TD>
<P>real
<p>
<p></TD>
<TD>
<P>Returns the real part of a complex number, see also imag
<p>
<p></TD></TR>
<TR>
<TD>
<P>rlocfind
<p>
<p></TD>
<TD>
<P>Find the value of k and the poles at the selected point
<p>
<p></TD></TR>
<TR>
<TD>
<P>rlocus
<p>
<p></TD>
<TD>
<P>Draw the root locus
<p>
<p></TD></TR>
<TR>
<TD>
<P>roots
<p>
<p></TD>
<TD>
<P>Find the roots of a polynomial
<p>
<p></TD></TR>
<TR>
<TD>
<P><a href="http://www.engin.umich.edu/group/ctm/extras/rscale.html" target="_blank" >rscale</A>
<p>
<p></TD>
<TD>
<P>Find the scale factor for a full-state feedback system
<p>
<p></TD></TR>
<TR>
<TD>
<P>set
<p>
<p></TD>
<TD>
<P>Set(gca,'Xtick',xticks,'Ytick',yticks) to control the number and spacing of tick marks on the axes
<p>
<p></TD></TR></TABLE></DIV></FONT>
<p>
[此贴子已经被VibInfo于2006-4-4 0:13:04编辑过]

回复
分享到:

使用道具 举报

 楼主| 发表于 2006-4-3 18:56 | 显示全部楼层

回复:(chenyh_nju)Matlab指令集

<DIV align=center>
<TABLE  cellPadding=0 border=1>

<TR >
<TD >
<P ><FONT face="Times New Roman">series <p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Series interconnection of Linear time-independent systems<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">sgrid<p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Generate grid lines of constant damping ratio (zeta) and natural frequency (Wn), see also jgrid, sigrid, zgrid<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><a href="http://www.engin.umich.edu/group/ctm/extras/sigrid.html" target="_blank" ><FONT face="Times New Roman">sigrid</FONT></A><FONT face="Times New Roman"> </FONT><p></p></P></TD>
<TD >
<P ><FONT face="Times New Roman">Generate grid lines of constant settling time (sigma), see also jgrid, sgrid, zgrid <p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">size <p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Gives the dimension of a vector or matrix, see also length<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">sqrt <p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Square root<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">ss<p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Create state-space models or convert LTI model to state space, see also tf<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">ss2tf<p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">State-space to transfer function representation, see also tf2ss<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">ss2zp<p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">State-space to pole-zero representation, see also zp2ss<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">stairs<p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Stairstep plot for discreste response, see also dstep<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><a href="http://www.engin.umich.edu/group/ctm/extras/step.html" target="_blank" ><FONT face="Times New Roman">step </FONT></A><p></p></P></TD>
<TD >
<P ><FONT face="Times New Roman">Plot the step response, see also impulse, lsim, dlsim.<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">subplot <p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Divide the plot window up into pieces, see also plot, figure<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">text <p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Add a piece of text to the current plot, see also title, xlabel, ylabel, gtext<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">tf<p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Creation of transfer functions or conversion to transfer function, see also ss<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">tf2ss<p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Transfer function to state-space representation, see also ss2tf<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">tf2zp<p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Transfer function to Pole-zero representation, see also zp2tf<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">title <p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Add a title to the current plot<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><a href="http://www.engin.umich.edu/group/ctm/extras/wbw.html" target="_blank" ><FONT face="Times New Roman">wbw</FONT></A><FONT face="Times New Roman"> </FONT><p></p></P></TD>
<TD >
<P ><FONT face="Times New Roman">Returns the bandwidth frequency given the damping ratio and the rise or settling time.<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">xlabel/ylabel <p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Add a label to the horizontal/vertical axis of the current plot, see also title, text, gtext<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">zeros <p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Returns a vector or matrix of zeros<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">zgrid<p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Generates grid lines of constant damping ratio (zeta) and natural frequency (Wn), see also sgrid, jgrid, sigrid <p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">zp2ss<p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Pole-zero to state-space representation, see also ss2zp<p></p></FONT></P></TD></TR>
<TR >
<TD >
<P ><FONT face="Times New Roman">zp2tf<p></p></FONT></P></TD>
<TD >
<P ><FONT face="Times New Roman">Pole-zero to transfer function representation, see also tf2zp</FONT><p></p></P></TD></TR></TABLE></DIV>
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-14 09:53 , Processed in 0.069014 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表