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
Re: Get the transfer function of a simulink model
Posted: Feb 12, 2013 11:07 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"pietro " <bracardi82@email.it> wrote in message <kf2t80$rl$1@newscl01ah.mathworks.com>...
> 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


I solved it using linearize instead of linmod.



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.