how to multipy two polynomial expression?
82 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
faa nad
il 3 Nov 2011
Commentato: Foysal Ahmmed
il 20 Ago 2021
hi i have to multiply two polynomial equations example:a=1+x+x^2 b=1+X output should be 1+2x+2x^2+x^3 plz do reply...
0 Commenti
Risposta accettata
Andrei Bobrov
il 3 Nov 2011
syms x
a=1+x+x^2
b=1+x
out = expand(a*b)
or
coeffa = [1 1 1];
coeffb = [1 1];
out = conv(coeffa,coeffb);
3 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Polynomials in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!