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 :)

 채택된 답변

madhan ravi
madhan ravi 2021년 1월 18일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

제품

태그

질문:

2021년 1월 18일

댓글:

2021년 1월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by