MATLAB CONTROL SYSTEM TOOLBOX 9 Guia do Utilizador Página 634

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 649
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 633
zpkdata
11-244
Example Given a zero-pole-gain model with two outputs and one input
H = zpk({[0];[–0.5]},{[0.3];[0.1+i 0.1–i]},[1;2],–1)
Zero/pole/gain from input to output...
1
#1: -------
(z–0.3)
2 (z+0.5)
#2: -------------------
(z^2 – 0.2z + 1.01)
Sampling time: unspecified
you can extract the zero/pole/gain data embedded in H with
[z,p,k] = zpkdata(H)
z =
[ 0]
[-0.5000]
p =
[ 0.3000]
[2x1 double]
k =
1
2
To access the zeros and poles of the second output channel of H, get the content
of the second cell in
z and p by typing
z{2,1}
ans =
–0.5000
p{2,1}
ans =
0.1000+ 1.0000i
0.1000– 1.0000i
Vista de página 633
1 2 ... 629 630 631 632 633 634 635 636 637 638 639 ... 648 649

Comentários a estes Manuais

Sem comentários