Matlab状态空间模型响应系统

问题描述 投票:0回答:1

我有一个以下实验室,要求我为这些问题编写命令matlab行:

enter image description here

  1. 如果初始条件为:x(0)= [2; 0].𝑓𝑖𝑛𝑑(𝑦)。
  2. 由于幅度为]的阶跃输入而找到响应y(t)>
  3. 找到上述状态空间模型的传递函数
  4. 从(3)推导状态空间模型。
  5. a = [0,1;0,4];
    b = [0;1];
    c = [0 -5];
    x0=[2;0];
    sys = ss(a,b,c,2);
    initial(sys,x0); % to get 1
    [n,d]=ss2tf(a,b,c,0);
    mySys_tf=tf(n,d) % to get 3
    [num den] = tfdata(mySys_tf, 'v')
    tf2ss(num,den) % to get 4
    
“ >

我有一个以下实验,被要求为这些问题写命令matlab行:如果初始条件为:x(0)= [2; 0]。找到响应y(t)...

matlab matlab-figure
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.