Transform a polynomial in syms to [1,2,3,4,5] and back to syms

1 view (last 30 days)
How do I transform a polynomial in syms to [1,2,3,4,5] and back to syms?

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 25 Apr 2016
Edited: Azzi Abdelmalek on 25 Apr 2016
y=poly2sym([1,2,3,4,5] )
sym2poly(y)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!