Effacer les filtres
Effacer les filtres

how to convert num2str for fprintf(fid, )

12 vues (au cours des 30 derniers jours)
Adam Aust
Adam Aust le 25 Fév 2014
Modifié(e) : Adam Aust le 27 Fév 2014
at the first i convert my string to number
x(indexi,indexj)=str2num(string);
indexj=indexj+1 ;
but at the end i want to use fprintf and convert num to string num2str again to print it in text file
fprintf (fid , )

Réponse acceptée

Walter Roberson
Walter Roberson le 25 Fév 2014
'%f' or '%g' or '%e'

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by