Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.1 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Control Systems - CACSD > Identification > imrep2ss

imrep2ss

state-space realization of an impulse response

Syntax

[sl]=imrep2ss(v [,deg])

Arguments

v

vector coefficients of impulse response, v(:,k) is the kth sample

deg

integer (order required)

sl

syslin list

Description

Impulse response to linear system conversion (one input). v must have an even number of columns.

Examples

s=poly(0,'s');
H=[1/(s+0.5);2/(s-0.4)]   //strictly proper
np=20;w=ldiv(H('num'),H('den'),np);
rep=[w(1:np)';w(np+1:2*np)'];   //The impulse response
H1=ss2tf(imrep2ss(rep))
z=poly(0,'z');
H=(2*z^2-3.4*z+1.5)/(z^2-1.6*z+0.8)     //Proper transfer function
u=zeros(1,20);u(1)=1;
rep=rtitr(H('num'),H('den'),u);   //Impulse rep.
//   <=> rep=ldiv(H('num'),H('den'),20)
w=z*imrep2ss(rep)   //Realization with shifted impulse response
// i.e strictly proper to proper
H2=ss2tf(w);

See also

  • frep2tf — transfer function realization from frequency response
  • arl2 — SISO model realization by L2 transfer approximation
  • time_id — SISO least square identification
  • armax — armax identification
  • markp2ss — Markov parameters to state-space
  • ldiv — polynomial matrix long division
Report an issue
<< findx0BD Identification inistate >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 19:26:48 CET 2018