photo

Tianyi Yu


Con actividad desde 2019

Followers: 0   Following: 0

Estadística

MATLAB Answers

1 Pregunta
1 Respuesta

CLASIFICACIÓN
100.522
of 301.060

REPUTACIÓN
0

CONTRIBUCIONES
1 Pregunta
1 Respuesta

ACEPTACIÓN DE RESPUESTAS
100.0%

VOTOS RECIBIDOS
0

CLASIFICACIÓN
 of 21.165

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN

of 172.612

CONTRIBUCIONES
0 Problemas
0 Soluciones

PUNTUACIÓN
0

NÚMERO DE INSIGNIAS
0

CONTRIBUCIONES
0 Publicaciones

CONTRIBUCIONES
0 Público Canales

EVALUACIÓN MEDIA

CONTRIBUCIONES
0 Temas destacados

MEDIA DE ME GUSTA

Feeds

Ver por

Pregunta


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

alrededor de 6 años hace | 2 respuestas | 0

2

respuestas

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

alrededor de 6 años hace | 0

| aceptada