フィルターのクリア

how to multipy two polynomial expression?

82 ビュー (過去 30 日間)
faa nad
faa nad 2011 年 11 月 3 日
コメント済み: Foysal Ahmmed 2021 年 8 月 20 日
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...

採用された回答

Andrei Bobrov
Andrei Bobrov 2011 年 11 月 3 日
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 件のコメント
Vikas AsodariyAa
Vikas AsodariyAa 2021 年 8 月 8 日
it's helpful sir. Thank you
Foysal Ahmmed
Foysal Ahmmed 2021 年 8 月 20 日
Thank you very much Andrei Bovrov.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePolynomials についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by