필터 지우기
필터 지우기

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