×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

convert 's' polynomial to array

convert 's' polynomial to array

convert 's' polynomial to array

(OP)
hi everyone

i have another question for you, i am trying to convert an polynomial, in this case just the denominator, which is of the form, 3s^3 + 5.2s^2 + s + 1 to an array which has none of the s terms, i.e [3, 5.2, 1, 1], i have already separated the numerator and denominator, but need to do this conversion for gain/phase plots.  It would also be nice to go other way and be able to turn [1, 0] into s.

i have looked at all the commands like tf, tfdata and really thought sys = tf(sys, 'inv') would do it, but no luck. as mine isn't a system but a polynomial.  

I hope someone knows how to do this, thanks in advance.

Drew

RE: convert 's' polynomial to array

Isn't this how matlab stores polynomials anyway (may be in reverse)?

M

--
Dr Michael F Platten

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources