Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Analyze the text printing code ...

4 visualizaciones (últimos 30 días)
Masoud Ghanbari
Masoud Ghanbari el 24 de Jun. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hi Dear Walter...
would you please analyze your code parts for me...
fmt_item = '%f.8';
delim = '\t';
nl = '\n';
fmt = [repmat( [fmt_item delim], 1, size(YourMatrix,2)-1 ), fmt_item, nl];
fid = fopen('YourOutput.txt', 'wt');
fprintf(fid, fmt, YourMatrix .' );
fclose(fid);
i'm kind of confused...

Respuestas (1)

Titus Edelhofer
Titus Edelhofer el 24 de Jun. de 2013
Hi Masoud,
I guess you want to write
fmt_item = '%.8f';
Titus
  1 comentario
Masoud Ghanbari
Masoud Ghanbari el 24 de Jun. de 2013
Yes Actually... Thanks for the mention

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by