From: Davide Sanseverinati on
Hi

i have this a matrix with symbolic transfer functions like:

(s^3 +12346512s^2 + 43242s +1245) / (s^5 +1234s^4+.........+12443)
but more complicated.
I'd like to express them as gain*Poles/zeros like :

K(s+123)(s+432)/((s+ 563)....(s+8765))

I tried to use the command 'factor', but without expected results, i'm looking for in the symbolic toolbox help , but i really have a few time...please, anyone knows how to do it?

Thank you
From: Steven_Lord on


"Davide Sanseverinati" <john.doe.nospam(a)mathworks.com> wrote in message
news:i3bdds$lrj$1(a)fred.mathworks.com...
> Hi
>
> i have this a matrix with symbolic transfer functions like:
>
> (s^3 +12346512s^2 + 43242s +1245) / (s^5 +1234s^4+.........+12443)
> but more complicated.
> I'd like to express them as gain*Poles/zeros like :
>
> K(s+123)(s+432)/((s+ 563)....(s+8765))
>
> I tried to use the command 'factor', but without expected results, i'm
> looking for in the symbolic toolbox help , but i really have a few
> time...please, anyone knows how to do it?
> Thank you

You could try using SIMPLIFY or SIMPLE, or you could break your transfer
function into numerator and denominator with NUMDEN and FACTOR each of those
pieces separately.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

From: Davide Sanseverinati on
"Steven_Lord" <slord(a)mathworks.com> wrote in message <i3bpm8$hg3$1(a)fred.mathworks.com>...
>
>
> "Davide Sanseverinati" <john.doe.nospam(a)mathworks.com> wrote in message
> news:i3bdds$lrj$1(a)fred.mathworks.com...
> > Hi
> >
> > i have this a matrix with symbolic transfer functions like:
> >
> > (s^3 +12346512s^2 + 43242s +1245) / (s^5 +1234s^4+.........+12443)
> > but more complicated.
> > I'd like to express them as gain*Poles/zeros like :
> >
> > K(s+123)(s+432)/((s+ 563)....(s+8765))
> >
> > I tried to use the command 'factor', but without expected results, i'm
> > looking for in the symbolic toolbox help , but i really have a few
> > time...please, anyone knows how to do it?
> > Thank you
>
> You could try using SIMPLIFY or SIMPLE, or you could break your transfer
> function into numerator and denominator with NUMDEN and FACTOR each of those
> pieces separately.
>
> --
> Steve Lord
> slord(a)mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com


Thank you for the fast reply!

one last thing. After doing that, i have the transfer function in this form:
/ 483 6207 \
|s + --- + ----- i |
\ 500 10000 /
with the numbers expressed as a ratio: instead i need to express them as a decimal number rounded to the first 4 decimal digits. I tried to use ROUND function, but it doesn't work. How can i change the form?

From: Steven_Lord on


"Davide Sanseverinati" <john.doe.nospam(a)mathworks.com> wrote in message
news:i3bqr5$20q$1(a)fred.mathworks.com...
> "Steven_Lord" <slord(a)mathworks.com> wrote in message
> <i3bpm8$hg3$1(a)fred.mathworks.com>...

*snip*

> Thank you for the fast reply!
> one last thing. After doing that, i have the transfer function in this
> form:
> / 483 6207 \ |s + --- + ----- i | \ 500 10000
> /
> with the numbers expressed as a ratio: instead i need to express them as a
> decimal number rounded to the first 4 decimal digits. I tried to use ROUND
> function, but it doesn't work. How can i change the form?

Use VPA.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com