Effacer les filtres
Effacer les filtres

help clarifying why code isn't working

1 vue (au cours des 30 derniers jours)
Charlotte Reed
Charlotte Reed le 28 Fév 2020
Commenté : Walter Roberson le 28 Fév 2020
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

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by