Can I solve symbolic mathematical operations with matlab?

For instance:
(a+b)^2
a^2 + 2*a*b + b^2
(a+b+c)^2
a^2 + b^2 + c^2 + 2*a*b + 2*b*c + 2*a*c

 採用された回答

Walter Roberson
Walter Roberson 2016 年 4 月 2 日

0 投票

syms a b
expand( (a+b)^2 )

その他の回答 (2 件)

Karan Suresh
Karan Suresh 2019 年 7 月 11 日

0 投票

Expand the polynomial
Shivam Nishad
Shivam Nishad 2021 年 5 月 17 日

0 投票

can you please solve these with the help of matlab.

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

質問済み:

Bob
2016 年 4 月 2 日

回答済み:

2021 年 5 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by