Create two fprintf in two diferent lines
Mostrar comentarios más antiguos
Hello,
I want to separate the third fprintf from the second one. The code below first gives two first fprintfs correct however, it continues to print the third fprintf along the second row. How could I separate these?
fprintf(' E_11 \t E_11avg \t E_22\t E_22avg\n');
fprintf('%2.0f\t %2.0f\t %2.0f\t %2.0f\t',[E_11; E_11avg; E_22; E_22avg]);
fprintf(' B1 \t B2 \t B3\t B4 \t B5\n');
fprintf('%2.0f\t %2.0f\t %2.0f\t %2.0f\t',[BB(1,1); BB(2,1); BB(3,1); BB(4,1); BB(5,1)]);
thanks
Respuesta aceptada
Más respuestas (1)
Torkan
el 15 de Nov. de 2019
0 votos
Categorías
Más información sobre Annotations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!