help clarifying why code isn't working

7 次查看(过去 30 天)
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 中查找有关 Operators and Elementary Operations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by