Is there any build in function to perform polynomials multiplication?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Abdulatif Alabdulatif
le 9 Nov 2014
Commenté : Abdulatif Alabdulatif
le 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 commentaires
Jan
le 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.
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Polynomials dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!