photo

Erfan Pakdamanian


Con actividad desde 2018

Followers: 0   Following: 0

Estadística

MATLAB Answers

0 Preguntas
2 Respuestas

CLASIFICACIÓN
19.055
of 299.784

REPUTACIÓN
2

CONTRIBUCIONES
0 Preguntas
2 Respuestas

ACEPTACIÓN DE RESPUESTAS
0.00%

VOTOS RECIBIDOS
1

CLASIFICACIÓN
 of 20.803

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN

of 165.909

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

  • First Answer

Ver insignias

Feeds

Ver por

Respondida
Write a function called spiral_diag_sum that takes an odd positive integer n as an input and computes the sum of all the elements in the two diagonals of the n-by-n spiral matrix.
function s= spiral_diag_sum(n) sp=spiral(n); s=sum(diag(sp))+sum(diag(fliplr(sp)))-1;

más de 7 años hace | 1