资源简介
子空间辨识,来自线性系统子空间辨识这本书,matlab程序,简单好用。
代码片段和文件信息
%
% General subspace identification
% -------------------------------
%
% The algorithm ‘subid‘ identifies deterministic stochastic
% as well as combined state space systems from IO data.
%
% [ABCDKR] = subid(yui);
%
% Inputs:
% y: matrix of measured outputs
% u: matrix of measured inputs
% for stochastic systems u = []
% i: number of block rows in Hankel matrices
% (i * #outputs) is the max. order that can be estimated
% Typically: i = 2 * (max order)/(#outputs)
%
% Outputs:
% ABCDKR: combined state space system
%
% x_{k+1) = A x_k + B u_k + K e_k
% y_k = C x_k + D u_k + e_k
% cov(e_k) = R
%
% For deterministic systems: K = R = []
% For stochastic systems: B = D = []
%
% Optional:
%
% [ABCDKRAUXss] = subid(yuinAUXWsil);
%
% n: optional order estimate (default [])
% if not given the user is prompted for the order
% AUX: optional auxilary variable to increase speed (default [])
% W: optional weighting flag
% SV: Singular values based algorithm
% (default for systems with input u)
% CVA: Canonical variate based algorithm
% (default for systems without input u)
% ss: column vector with singular values
% sil: when equal to 1 no text output is generated
%
% Example:
%
% [ABCDKRAUX] = subid(yu102);
% for k=3:6
% [ABCD] = subid(yu10kAUX);
% end
%
% Reference:
%
% Subspace Identification for Linear Systems
% Theory - Implementation - Applications
% Peter Van Overschee / Bart De Moor
% Kluwer Academic Publishers 1996
% Stochastic algorithm: Figure 3.13 page 90 (positive)
% Combined algorithm: Figure 4.8 page 131 (robust)
%
% Copyright:
%
% Peter Van Overschee December 1995
% peter.vanoverschee@esat.kuleuven.ac.be
%
%
function [ABCDKRoAUXss] = subid(yuinAUXinWsil);
if (nargin < 7);sil = 0;end
mydisp(sil‘ ‘);
mydisp(sil‘ Subspace Identification‘);
mydisp(sil‘ -----------------------‘);
% Check the arguments
if (nargin < 3);error(‘subid needs at least three arguments‘);end
if (nargin < 4);n = [];end
if (nargin < 5);AUXin = [];end
% Check if its deterministic or stochastic ID
if (u == []); ds_flag = 2; % Stochastic
else; ds_flag = 1; % Deterministic
end
% Give W its default value
if (nargin < 6);W = [];end
if (W == [])
if (ds_flag == 1); W = ‘SV‘; % Deterministic: default to SV
else; W = ‘CVA‘;end % Stochastic: default to CVA
end
% Turn the data into row vectors and c
相关资源
- matlab实现PCM十三折现编码译码
- EKFUKFmatlab程序比较
- camshift跟踪算法MATLAB源代码注释.txt
- 系统辨识部分算法matlab程序
- LBP算法的Matlab代码
- MATLAB随机拓扑生成源码
- 模糊k均值聚类算法matlab实现
- 色调,饱和度,亮度图,matlab
- 地统计学中的克里格插值法,Matlab编
- 利用MATLAB对图像进行灰度阈值分割,
- matlab计算GTD-UTD绕射源代码.zip
- IEEE30节点测试系统matlab M文件,包含各
- 说话人识别和确认系统Matlab).rar
- 力导向图force-direct算法MATLAB实现含数
- photoshop图层混合的matlab实现
- 3-SPR并联平台Matlab运动学正解及工作空
- 小生境遗传算法源程序4
- 《现代数字信号处理》何子述 第三章
- CNN深度学习识别字符matlab
- 车牌识别matlab代码
- 粒子群算法优化RBF神经网络
- QPSK的MATLAB仿真程序
- 复杂网络matlab经典算法
- Maple Toolbox for MATLAB 工具箱使用介绍
- 非局部均值 图像去噪(matlab)
- 循环自相关函数matlab程序
- matlab一元线性回归
- 基于DVB-T标准的OFDM调制技术的MATLAB源
- Alamouti方案的matlab仿真
- 用MATLAB编写的svm源程序,可以实现支
评论
共有 条评论