transform fprintf in disp
Mostrar comentarios más antiguos
hey, how do i turn this:
fprintf('\nPara i= %d\n e a= %f e a resposta é: %f ', i, n, c)
into the function disp?
1 comentario
Ameer Hamza
el 19 de Mayo de 2020
Can you further explain what is your intended output?
Respuestas (1)
Tommy
el 20 de Mayo de 2020
Maybe this?
disp(sprintf('\nPara i= %d\n e a= %f e a resposta é: %f ', i, n, c))
You'll get a warning that fprintf is preferred.
Categorías
Más información sobre Quaternion Math 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!
