matlab 空间模态,SSI随机子空间法求模态参数

%

% Demo file for Subspace identification

%

% Copyright:

%          Peter Van Overschee, December 1995

%          peter.vanoverschee@esat.kuleuven.ac.be

%

clc

disp(' ')

disp(' ')

disp('                SUBSPACE IDENTIFICATION ')

disp('               -------------------------')

disp(' ')

disp('   Welcome to the world of Subspace Identification');

disp('   This demo will illustrate the power of subspace identification')

disp('   algorithms with a simple multivariable example.');

disp(' ')

disp('   Note that in this tutorial demo we consider a simulated example.')

disp('   However, numerous real-life industrial applications can be')

disp('   found under the directory "subspace\applic"');

disp(' ')

disp(' ')

disp('   Hit any key to continue')

pause

clc

echo on

%

%   Consider a multivariable fourth order system a,b,c,d

%   with two inputs and two outputs:

a = [0.603 0.603 0 0;-0.603 0.603 0 0;0 0 -0.603 -0.603;0 0 0.603 -0.603];

b = [1.1650,-0.6965;0.6268 1.6961;0.0751,0.0591;0.3516 1.7971];

c = [0.2641,-1.4462,1.2460,0.5774;0.8717,-0.7012,-0.6390,-0.3600];

d = [-0.1356,-1.2704;-1.3493,0.9846];

m = 2;     % Number of inputs

l = 2;     % Number of outputs

%   The bode plot:

w = [0:0.005:0.5]*(2*pi);   % Frequency vector

m1 = dbode(a,b,c,d,1,1,w);m2 = dbode(a,b,c,d,1,2,w);

figure(1);hold off;subplot;clf;

subplot(221);plot(w/(2*pi),m1(:,1));title('Input 1 -> Output 1');

subplot(222);plot(w/(2*pi),m2(:,1));title('Input 2 -> Output 1');

subplot(223);plot(

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值