Print massive without rows and columns name

5 views (last 30 days)
Hi, I have massive and want to print it without names:
Reality:
Columns 1 through 9
-0.8 -0.16 -1.82 -0.96 -1.76 -0.7 -0.38 -0.98 -1.78
Columns 10 through 18
-0.3 -0.84 -0.62 -1.76 -1.38 -1.44 -0.76 -0.38 -0.18
Columns 19 through 27
-1.72 -1.02
Expect:
-0.80 -0.16 -1.82 -0.96 -1.76 -0.70 -0.38 -0.98 -1.78 -0.30 -0.84 -0.62 -1.76 -1.38 -1.44 -0.76 -0.38 -0.18 -1.72 -1.02

Accepted Answer

Stephen23
Stephen23 on 13 Sep 2017
fprintf('%s\n',sprintf(' %.2f',mat))

More Answers (0)

Categories

Find more on App Building in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!