photo

DH


Last seen: más de 1 año hace Con actividad desde 2024

Followers: 0   Following: 0

Estadística

All
Cody

0 Problemas
9 Soluciones

Discussions

1 Tema destacado

CLASIFICACIÓN
N/A
of 301.493

REPUTACIÓN
N/A

CONTRIBUCIONES
0 Preguntas
0 Respuestas

ACEPTACIÓN DE RESPUESTAS
0.00%

VOTOS RECIBIDOS
0

CLASIFICACIÓN
 of 21.300

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN
42.155
of 174.813

CONTRIBUCIONES
0 Problemas
9 Soluciones

PUNTUACIÓN
104

NÚMERO DE INSIGNIAS
1

CONTRIBUCIONES
0 Publicaciones

CONTRIBUCIONES
0 Público Canales

EVALUACIÓN MEDIA

CONTRIBUCIONES
1 Tema destacado

MEDIA DE ME GUSTA
1

  • Solver

Ver insignias

Feeds

Ver por

Discussion


Can someone tell me what's wrong with this code? This is a problem from Cody. For example, when n=3, the output should be the matrix [1 2 2 3 3 3]
function ans = your_fcn_name(n) n; j=sum(1:n); a=zeros(1,j); for i=1:n a(1,((sum(1:(i-1))+1)):(sum(1:(i-1))+i))=i.*ones...

más de 1 año hace | 1