i want to print a 3x3 matrix with spacing 1.5 between the elements of the matrix.

1 Ansicht (letzte 30 Tage)
my matrix representaion should be like this.
- - -
- - -
- - -
  2 Kommentare
Jan
Jan am 20 Jun. 2018
The question is not clear. What kind of "spacing" do you mean? The values of the output? 1.5 what?
Stephen23
Stephen23 am 20 Jun. 2018
@vineetha koduri: What values are in the matrix, and how should they be formatted? Where do you want to "print" these values? Have you tried using fprintf?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by