photo

Tianyi Yu


Attivo dal 2019

Followers: 0   Following: 0

Statistica

MATLAB Answers

1 Domanda
1 Risposta

RANK
161.883
of 301.301

REPUTAZIONE
0

CONTRIBUTI
1 Domanda
1 Risposta

ACCETTAZIONE DELLE RISPOSTE
100.0%

VOTI RICEVUTI
0

RANK
 of 21.236

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK

of 173.897

CONTRIBUTI
0 Problemi
0 Soluzioni

PUNTEGGIO
0

NUMERO DI BADGE
0

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

Feeds

Visto da

Domanda


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)" ,...

oltre 6 anni fa | 2 risposte | 0

2

risposte

Risposto
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);

oltre 6 anni fa | 0

| accettato