Analyze the text printing code ...
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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...
Antworten (1)
Titus Edelhofer
am 24 Jun. 2013
Hi Masoud,
I guess you want to write
fmt_item = '%.8f';
Titus
1 Kommentar
Masoud Ghanbari
am 24 Jun. 2013
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!