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

1 view (last 30 days)
my matrix representaion should be like this.
- - -
- - -
- - -
  2 Comments
Jan
Jan on 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 on 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?

Sign in to comment.

Answers (0)

Categories

Find more on Numeric Types in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!