How to make polynom with unknown coefficients?

2 views (last 30 days)
I can use only "sym a b c x" to create a*x^2+b*x+c?

Accepted Answer

Torsten
Torsten on 14 Feb 2019
n = 10;
c = sym('c', [1 n]);
p = poly2sym(c)

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!