help clarifying why code isn't working
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Charlotte Reed
el 28 de Feb. de 2020
Comentada: Walter Roberson
el 28 de Feb. de 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
Respuesta aceptada
David Hill
el 28 de Feb. de 2020
fprintf('%15.4f %15.4f %15.4f %15.4f\n',M(1,:),M(2,:),M(3,:),M(4,:));
8 comentarios
Walter Roberson
el 28 de Feb. de 2020
... so add them in?
L15 = repmat('-', 1, 15);
fprintf('%s %s %s %s\n', L15, L15, L15, L15);
Más respuestas (0)
Ver también
Categorías
Más información sobre Elementary Math en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!