Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
pietro
Posts:
355
Registered:
1/3/09
|
|
Get the transfer function of a simulink model
Posted:
Feb 8, 2013 8:06 AM
|
|
Hi all,
I need to get the transfer function of this simple model: http://img6.imageshack.us/img6/7931/immaginezvu.png
I have set up the input and output points. I typed on the command history:
[A,B,C,D] = linmod('sistema_massa_molla')
This is what I got after it:
Warning: Using a default value of 0.4 for maximum step size. The simulation step size will be equal to or less than this value. You can disable this diagnostic by setting 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics page of the configuration parameters dialog > In dlinmod at 202 In linmod at 60
A =
0 1.0000 0 -9.8100 -50.0000 0 0 0 0
B =
Empty matrix: 3-by-0
C =
Empty matrix: 0-by-3
D =
[]
Linmod result seems wrong to me: why I got 3x3 matrices ? Why are the B and C matrices null?
Thanks
Best regards
Pietro
|
|
|
|