Is there any build in function to perform polynomials multiplication?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Abdulatif Alabdulatif
el 9 de Nov. de 2014
Comentada: Abdulatif Alabdulatif
el 10 de Nov. de 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 comentarios
Jan
el 9 de Nov. de 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.
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Polynomials en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!