Tianyi Yu
2019년부터 활동
Followers: 0 Following: 0
Feeds
질문
How to reuse the same format
For example, this code has nine "%7.0f" and one "%5.0f". Is there any way I can simplify this code, like "repmat('%7.0f' , 9)" ,...
대략 5년 전 | 답변 수: 2 | 0
2
답변답변 있음
How to reuse the same format
OK i think i solved this problem already: fmt = ['# defaults-> %5.0f',repmat('%7.0f',1,8),'%7.0f\n',]; fprintf(fmt,header);
How to reuse the same format
OK i think i solved this problem already: fmt = ['# defaults-> %5.0f',repmat('%7.0f',1,8),'%7.0f\n',]; fprintf(fmt,header);
대략 5년 전 | 0
| 수락됨