Info
This question is closed. Reopen it to edit or answer.
Analyze the text printing code ...
1 view (last 30 days)
Show older comments
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...
0 Comments
Answers (1)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!