Clear Filters
Clear Filters

How can I do this polynomial with sympolic in matlab

1 view (last 30 days)
How can I do this polynomial with sympolic in matlab
Z= P­0 x0 + P­1 x1 +P­2 x2 + P3 x3 +…….=
  2 Comments
Torsten
Torsten on 19 Jan 2023
Edited: Torsten on 19 Jan 2023
Unclear.
Which polynomial ?
Adham Ahmed
Adham Ahmed on 20 Jan 2023
How can I do this polynomial with sympolic in matlab
Z= P­0 x0 + P­1 x1 +P­2 x2 + P3 x3 +…….=

Sign in to comment.

Accepted Answer

KSSV
KSSV on 20 Jan 2023
p = sym('P',[1 4]) ;
x = sym('x',[1 4]) ;
f = p*x.'
f = 
  4 Comments

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 20 Jan 2023
if you have numeric coefficients see poly2sym()

Tags

Community Treasure Hunt

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

Start Hunting!