⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 find_x0.m

📁 The main features of the considered identification problem are that there is no an a priori separati
💻 M
字号:
% Choose initial approximation for stlsidentuy% Uses subid and Polyxfunction [x0,sys] = find_x0(u,y,nx,eiv)if ~isa(u,'ss')   [a0,b0,c0,d0] = subid(y,u,ceil(nx/size(y,2))+1,nx,[],[],1);   sys  = ss(a0,b0,c0,d0,-1);else  sys = u;  [a0,b0,c0,d0] = ssdata(sys);  end% convert sys to xif issiso(sys)  [N,D] = tfdata(sys,'v');  x0    = [fliplr(N)'; -fliplr(D(2:end))'];else  % Use Polyx  [N,D] = ss2lmf(a0,b0,c0,d0);  N     = punpck(N);   D     = punpck(D);  x0    = [N -D]';  d     = size(x0,2);  x0    = -x0(1:end-d,:)/x0(end-d+1:end,:);end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -