필터 지우기
필터 지우기

help clarifying why code isn't working

조회 수: 1 (최근 30일)
Charlotte Reed
Charlotte Reed 2020년 2월 28일
댓글: Walter Roberson 2020년 2월 28일
this is my code, and i will attach in the comments what i am trying to portray. I'm having trouble understanding why it wont work. Thanks

채택된 답변

David Hill
David Hill 2020년 2월 28일
fprintf('%15.4f %15.4f %15.4f %15.4f\n',M(1,:),M(2,:),M(3,:),M(4,:));
  댓글 수: 8
Charlotte Reed
Charlotte Reed 2020년 2월 28일
The only problem is the table lines aren't there
Walter Roberson
Walter Roberson 2020년 2월 28일
... so add them in?
L15 = repmat('-', 1, 15);
fprintf('%s %s %s %s\n', L15, L15, L15, L15);

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by