Is there any build in function to perform polynomials multiplication?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Abdulatif Alabdulatif
il 9 Nov 2014
Commentato: Abdulatif Alabdulatif
il 10 Nov 2014
Hi,
I try to find a build in function that satisfy the following:
(x1,y1) , (x2,y2)
result in:
( 0 , (x1*x2) , (x1*y2) + (y1*x2) , (y1*y2) )
I did it using while loop but it is useless! it take to long time : (
Thank you
2 Commenti
Jan
il 9 Nov 2014
Claiming that the loop takes too long is not useful, when you do not post the code. Perhaps you did only forget to pre-allocate the result. In addition it is not clear if "x1" and "x2" are two variables with inconvenient names or the elements of a vector. The less the readers have to guess, the more useful will be the answers.
Risposta accettata
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!