Print massive without rows and columns name

10 vues (au cours des 30 derniers jours)
Opera Era
Opera Era le 13 Sep 2017
Modifié(e) : Opera Era le 13 Sep 2017
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

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur App Building dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by