How can I do this polynomial with sympolic in matlab

1 visualizzazione (ultimi 30 giorni)
How can I do this polynomial with sympolic in matlab
Z= P­0 x0 + P­1 x1 +P­2 x2 + P3 x3 +…….=
  2 Commenti
Torsten
Torsten il 19 Gen 2023
Modificato: Torsten il 19 Gen 2023
Unclear.
Which polynomial ?
Adham Ahmed
Adham Ahmed il 20 Gen 2023
How can I do this polynomial with sympolic in matlab
Z= P­0 x0 + P­1 x1 +P­2 x2 + P3 x3 +…….=

Accedi per commentare.

Risposta accettata

KSSV
KSSV il 20 Gen 2023
p = sym('P',[1 4]) ;
x = sym('x',[1 4]) ;
f = p*x.'
f = 
  4 Commenti
KSSV
KSSV il 20 Gen 2023
Thanks is accepting/ voting the answer.. :)

Accedi per commentare.

Più risposte (1)

Walter Roberson
Walter Roberson il 20 Gen 2023
if you have numeric coefficients see poly2sym()

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by