声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1019|回复: 1

[线性振动] 多输入多输出系统已知状态方程如何画频响函数图

[复制链接]
发表于 2014-6-13 10:52 | 显示全部楼层 |阅读模式

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

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

x
多输入多输出系统已知状态方程如何画频响函数图。
KM=inv(M)*K ;          %动力矩阵
[P,W2]=eig(KM);       %求解特征值 和特征向量
f=sqrt(W2)/(2*pi); %固有频率
m1=eye(7);
CM=inv(M)*C;
m0=zeros(7,7);
m01=zeros(1,7);
A=[m0 m1;-KM -CM];
B=[0 0
   0 0
   0 0
   0 0
   0 0
   0 0
   0 0
   0 0
   0 0
   1/1105*2*(kqz+khz) 1/1105*2*(cqz+chz)
   0 0
   0 0
   0 0
   0 0];
% [X,w]=freqz(A,B)
C=[1 0 0 0 0 0 0 0 0 0 0 0 0 0
   0 1 0 0 0 0 0 0 0 0 0 0 0 0
   0 0 1 0 0 0 0 0 0 0 0 0 0 0
   0 0 0 1 0 0 0 0 0 0 0 0 0 0
   0 0 0 0 1 0 0 0 0 0 0 0 0 0
   0 0 0 0 0 1 0 0 0 0 0 0 0 0
   0 0 0 0 0 0 1 0 0 0 0 0 0 0];
D=0;

回复
分享到:

使用道具 举报

发表于 2014-7-11 09:49 | 显示全部楼层
help freqresp, bode
& ref
Frequency Domain Analysis
allmargin        All crossover frequencies and corresponding stability margins
bode        Bode diagram of frequency response
bodemag        Bode magnitude response of LTI models
db2mag        Convert decibels (dB) to magnitude
evalfr        Evaluate frequency response at given frequency
freqresp        Frequency response over frequency grid
mag2db        Convert magnitude to decibels (dB)
margin        Gain and phase margins and associated crossover frequencies
nichols        Nichols plot of LTI models
nyquist        Nyquist plot of LTI models
sigma        Plot singular values of LTI models
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-4-27 15:32 , Processed in 0.069756 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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