필터 지우기
필터 지우기

HOW IS THIS? THANKS

조회 수: 3 (최근 30일)
Gemalyn Apostol
Gemalyn Apostol 2016년 10월 26일
답변: Image Analyst 2016년 10월 26일
For writing formatted ascii output WE often write like fprintf(fid,'%5.3f %5.3f %5.3f %5.3f.. ',A).
Describe code that avoids repeating the format description, say 5 times. HOW DO I DO IT? THANKS.

답변 (1개)

Image Analyst
Image Analyst 2016년 10월 26일
Just put it once:
fprintf(fid,'%5.3f ', A)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by