How to call constant in MATLAB?

3 ビュー (過去 30 日間)
Mahbubur Rahman
Mahbubur Rahman 2016 年 1 月 27 日
コメント済み: Mahbubur Rahman 2016 年 1 月 27 日
Suppose I want to define a = X; b = Y, and then want the addition of a+b. How can I do that? I mean, how can I call a letter as a constant?
  2 件のコメント
jgg
jgg 2016 年 1 月 27 日
Please check over your question; there is no a or b in your problem statement. Additionally, are these numerical objects or symbolic objects? What is the context for your problem?
Mahbubur Rahman
Mahbubur Rahman 2016 年 1 月 27 日
Fixed it.

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

採用された回答

Star Strider
Star Strider 2016 年 1 月 27 日
‘How can I do that? I mean, how can I call a letter as a constant?’
If you want to do symbolic operations, you have to use the Symbolic Math Toolbox.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by