Displaying an array of zeroes.

1 visualización (últimos 30 días)
Louis Grainger
Louis Grainger el 6 de Abr. de 2021
Respondida: Rik el 6 de Abr. de 2021
given:
A = zeros([10, 10])
using the disp(x) function the output is not reminiscent of a square due to the horizontal spaces being greater than the vertical ones, is there a function to better attain the square shape. alternativley can you define the distance between elements of the array within the display function?

Respuesta aceptada

Rik
Rik el 6 de Abr. de 2021
doc fprintf

Más respuestas (0)

Categorías

Más información sobre Multidimensional Arrays 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