フィルターのクリア

Any way to force Command Window Answers to print Fractions?

11 ビュー (過去 30 日間)
Clark
Clark 2012 年 11 月 6 日
コメント済み: pavan teja 2022 年 10 月 31 日
Is there any way to change the format of all numbers in the answers of the command window to be displayed as fractions rather than decimals? Thanks!
  1 件のコメント
pavan teja
pavan teja 2022 年 10 月 31 日
setup the vector calle 'N' with 5 elements having 1,2,3,4,5 using 'N' create assignment for x
1/2,1,3/2,2

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

採用された回答

Brian B
Brian B 2012 年 11 月 6 日
編集済み: Brian B 2012 年 11 月 6 日
Try
format rat
-Brian

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by