Is there any build in function to perform polynomials multiplication?
2 ビュー (過去 30 日間)
古いコメントを表示
Abdulatif Alabdulatif
2014 年 11 月 9 日
コメント済み: Abdulatif Alabdulatif
2014 年 11 月 10 日
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 件のコメント
Jan
2014 年 11 月 9 日
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.
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Polynomials についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!