The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

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:

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?


Best regards


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.