フィルターのクリア

How to display a matrix which has elements with big difference in values?

1 回表示 (過去 30 日間)
Benson Gou
Benson Gou 2019 年 5 月 30 日
回答済み: madhan ravi 2019 年 5 月 30 日
Hi, All,
I want to display a matrix A which has elements with big difference in values. For example, A=[1000 0.2;1001 0.5;2120 0.002]. If I display it, I got
A = 10e + 3.0
1.0000 0.0002
1.0010 0.0005
2.1200 0.0000
But what I want to display is as follows:
A =
1000 0.2
1001 0.5
2120 0.002
Can anyone show me how to do it?
Thanks a lot.
Benson

採用された回答

madhan ravi
madhan ravi 2019 年 5 月 30 日
format longg
doc format

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by