Borrar filtros
Borrar filtros

how to convert num2str for fprintf(fid, )

12 visualizaciones (últimos 30 días)
Adam Aust
Adam Aust el 25 de Feb. de 2014
Editada: Adam Aust el 27 de Feb. de 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 , )

Respuesta aceptada

Walter Roberson
Walter Roberson el 25 de Feb. de 2014
'%f' or '%g' or '%e'

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by