b=fprintf how to
Mostra commenti meno recenti
a=2.65987 ,after using the fprintf('%0.5g\n',a) i get the value i want being 2.6599 i tried doing b=fprintf('%0.5g\n',a) (i wanted to keep a better track of my work ) but it modified my result into 7 ,is there a way of keeping the b=fprintf('%0.5g\n',a) and still keeping the initial value 2.6599 ?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!