Borrar filtros
Borrar filtros

Using ss2tf to obtain two transfer functions

8 visualizaciones (últimos 30 días)
Chris
Chris el 5 de Dic. de 2014
Comentada: Chris el 5 de Dic. de 2014
I have the following system associated with the short period response of a plane to wind:
My task is to Write a Matlab program that uses the command ‘ss2tf’ to obtain the two transfer functions associated with the input w_g(t).
Here is what I have so far:
clear, clc
% Create first matrix A
% Create second matrix B
[s1, s2] = ss2tf(A,B,[],[],1)
This causes s1 to be an empty matrix, so I know it isn't quite this simple. I don't have a particularly good feel for transfer functions, and I'm not sure how to get them associated with B as an input. Any push in the right direction by someone with experience with 'ss2tf' would be really appreciated!
Chris

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 5 de Dic. de 2014
You need A,B and the two matrices C and D, and use
[a,b]=ss2tf(A,B,C,D,ni)
  5 comentarios
Azzi Abdelmalek
Azzi Abdelmalek el 5 de Dic. de 2014
The outputs are maybe alpha and q, in this case:
C=eye(2);
D=zeros(2)
then use
[a1,b1]=ss2tf(A,B,C,D,1)
[a2,b2]=ss2tf(A,B,C,D,2)
Chris
Chris el 5 de Dic. de 2014
Cool! Thanks a lot for the help.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by