How to get bode transfer function from state space model?

2 Ansichten (letzte 30 Tage)
Francesco
Francesco am 22 Feb. 2014
Kommentiert: RahulTandon am 8 Jul. 2015
Hi everybody I am having problems to get the Bode transfer function from the state space model.
Suppose I have a idss structure M of the state space model. Now consider the following code:
% M is a state space model in a idss structure
sys = tf(M.A,M.C,M.D);
figure(1)
bode(M,w) %w = vector of radiant frequency
figure(2)
bode(sys,w)
Why are the 2 plots completely different if they represent the same state space system?
I was also looking to build the Bode transfer function myself as C*(sI - A)^-1 *B+D but is there a way in matlab to perform such calculations with an unkown?
Thanks in advance
  1 Kommentar
RahulTandon
RahulTandon am 8 Jul. 2015
unclear question 1) define M 2) define w 3) is there a function call of type bode(M,w) ?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by