Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Get the transfer function of a simulink model
Replies: 1   Last Post: Feb 12, 2013 11:07 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
pietro

Posts: 374
Registered: 1/3/09
Get the transfer function of a simulink model
Posted: Feb 8, 2013 8:06 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.