help clarifying why code isn't working
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Charlotte Reed
il 28 Feb 2020
Commentato: Walter Roberson
il 28 Feb 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
Risposta accettata
David Hill
il 28 Feb 2020
fprintf('%15.4f %15.4f %15.4f %15.4f\n',M(1,:),M(2,:),M(3,:),M(4,:));
8 Commenti
Walter Roberson
il 28 Feb 2020
... so add them in?
L15 = repmat('-', 1, 15);
fprintf('%s %s %s %s\n', L15, L15, L15, L15);
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!