Info
この質問は閉じられています。 編集または回答するには再度開いてください。
how do i display this particular matrix in a separate text file in the below mentioned format?
1 回表示 (過去 30 日間)
古いコメントを表示
13.4033 -5.0000 0 -5.0000 -3.3333 0
-5.0000 27.4383 -4.0000 -10.0000 -3.3333 -5.0000
0 -4.0000 17.9112 0 -3.8462 -10.0000
-5.0000 -10.0000 0 17.5700 -2.5000 0
-3.3333 -3.3333 -3.8462 -2.5000 16.4912 -3.3333
0 -5.0000 -10.0000 0 -3.3333 18.3983
1 件のコメント
Matt Kindig
2013 年 4 月 4 日
doc fprintf
Specifically, look at the formatting string options. You want something like '%6.5f' to get the precision you have specified.
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!