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

2 visualizaciones (últimos 30 días)
my matrix representaion should be like this.
- - -
- - -
- - -
  2 comentarios
Jan
Jan el 20 de Jun. de 2018
The question is not clear. What kind of "spacing" do you mean? The values of the output? 1.5 what?
Stephen23
Stephen23 el 20 de Jun. de 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?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Numeric Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by