资源简介
可与随机减量技术及自然激励技术结合用于模态参数识别

代码片段和文件信息
function [ABCD]=era(hnNTsdef);
% Eigensystem Realization Algorithm (ERA)
%
% Author: Samuel da Silva - UNICAMP
% e-mail: samsilva@fem.unicamp.br
% Date: 2006/10/20
%
% [ABCD]=era(hnNTsdef);
%
% Inputs:
% h: discrete-time impulse response
% n: order of the system
% N: number of samples to assembly the Hankel matrix
% Ts: sample time
% def: if = 1: the output will be the discrete-time state-space model
% if = 2: the output will be the continuous-time state-space model
%
% Otputs:
% [ABCD]: state-space model
%
% Note: For now it works to SISO systems and it is necessary the control toolbox
%
% References: Juang J. N. and Phan M. Q. “Identification and Control of
% Mechanical Systems“ Cambridge University Press 2001
% Hankel matrix
H0 = hankel(h(2:N+1)); % k = 0
H1 = hankel(h(3:N+2)); % k = 1;
% Factorization of the Hankel matrix by use of SVD
[RSigmaS] = svd(H0);
% R and S are orthonormal and Sigma is a rectangular matrix
Sigman = Sigma(1:n1:n);
Wo = R(:1:n)*Sigman^0.5; % observability matrix
Co = Sigman^.5*S(:1:n)‘; % controllability matrix
% The identified system matrix are:
A = Sigman^-.5*R(:1:n)‘*H1*S(:1:n)*Sigman^-.5; % dynamic matrix
B = Co(:1); % input matrix
C = Wo(1:); % output matrix
D = h(1); % direct-transmission matrix
sysdisc = ss(ABCDTs); % discrete-time system
if def == 2
syscont = d2c(sysdisc‘zoh‘); % Conversion of discrete LTI models to continuous time
[ABCD]=ssdata(syscont); % continuous system
end
%--------------------------------------------------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1840 2018-07-11 20:25 era.m
- 上一篇:泰课Unity3D基础班视频教程
- 下一篇:intel hex 校验和计算工具
相关资源
- 编程实现二维DCT变换
- 图像二值化
- 用FFT对信号进行频谱分析
- Tone-Reservation
- QGA 量子遗传算法
- 差分形式的阻滞增长模型
- 遗传算法的M文件
- 简单二阶互联系统的非线性动力学分
- 手写数字识别-模板匹配法
- Stock_Watson_动态因子分析模型
- 果蝇优化算法优化支持向量回归程序
- 自己做的一个简单GUI扑克纸牌识别-
- multi output SVR
- AR过程的线性建模过程与各种功率谱估
- PCNN TOOLBOX
- plstoolbox.zip
- 中国国家基础地理信息系统GIS数据
- 粒子群微电网优化调度
- 矩阵分析-经典教材-中文版-Roger.A.Ho
- 压缩感知TwIST
- 基于最小错误率的贝叶斯手写数字分
- 最全系统辨识源代码,包括多种最小
- 导弹制导实验
- 画跟踪精确度图的程序.zip
- 重力场大地水准面及重力异常阶次误
- prtools5.2.3工具包
- 脉冲耦合神经网络工具箱PCNN-toolbox
- SVM算法-回归拟合程序.zip
- Kriging代理模型EGO算法.zip
- Matalb实现停车场完整系统
评论
共有 条评论