フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Analyze the text printing code ...

4 ビュー (過去 30 日間)
Masoud Ghanbari
Masoud Ghanbari 2013 年 6 月 24 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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...

回答 (1 件)

Titus Edelhofer
Titus Edelhofer 2013 年 6 月 24 日
Hi Masoud,
I guess you want to write
fmt_item = '%.8f';
Titus
  1 件のコメント
Masoud Ghanbari
Masoud Ghanbari 2013 年 6 月 24 日
Yes Actually... Thanks for the mention

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by