transform fprintf in disp
Ältere Kommentare anzeigen
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 Kommentar
Ameer Hamza
am 19 Mai 2020
Can you further explain what is your intended output?
Antworten (1)
Tommy
am 20 Mai 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.
Kategorien
Mehr zu Quaternion Math finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
