フィルターのクリア

How to view calculations step by step?

13 ビュー (過去 30 日間)
suvadip paul
suvadip paul 2013 年 10 月 11 日
回答済み: Walter Roberson 2013 年 10 月 11 日
I want to show a long calculation in step by step e.g.,
6+4-2^3+32^(1/5) =6+4-8+2 =10-8+2 =2+2 =4
But Matlab calculates it in one step. Is there anyway to exhibit all the steps?
  2 件のコメント
sixwwwwww
sixwwwwww 2013 年 10 月 11 日
May be you can do like this
a = 6+4
b = a-2^3
c = b+32^(1/5)
suvadip paul
suvadip paul 2013 年 10 月 11 日
Thank you. But this will not so much convenient to serve my purpose.

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

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 10 月 11 日
No, MATLAB provides no method to view the result of each subexpression of an expression.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by