Tianyi Yu
Followers: 0 Following: 0
Statistics
RANK
192 333
of 295 569
REPUTATION
0
CONTRIBUTIONS
1 Question
1 Answer
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 20 247
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154 105
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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)" ,...
ungefär 5 år ago | 2 answers | 0
2
answersHow 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);
ungefär 5 år ago | 0
| accepted