フィルターのクリア

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 Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by