Centering Matrix Culumn Data

9 visualizaciones (últimos 30 días)
Wahyu A
Wahyu A el 18 de En. de 2021
Comentada: Wahyu A el 19 de En. de 2021
Hy, Everyone. I tried print data matrix in the command windows MATLAB and the results are not centered with numbers.
can anyone help me to fix this ? :)
Thanks :)

Respuesta aceptada

madhan ravi
madhan ravi el 18 de En. de 2021
ii = 33
ii = 33
x = randi([0, 1], 4) * ii % they are automatically centered xD
x = 4×4
0 0 0 33 0 0 0 33 0 0 33 0 0 0 0 33

Más respuestas (0)

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by