Ramesh Patel - MATLAB Central
photo

Ramesh Patel


Last seen: casi 3 años hace Con actividad desde 2021

Followers: 0   Following: 0

Estadística

MATLAB AnswersFrom 07/21 to 03/25Use left and right arrows to move selectionFrom 07/21Use left and right arrows to move left selectionTo 03/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

0 Preguntas
1 Respuesta

CLASIFICACIÓN
100.016
of 297.503

REPUTACIÓN
0

CONTRIBUCIONES
0 Preguntas
1 Respuesta

ACEPTACIÓN DE RESPUESTAS
0.00%

VOTOS RECIBIDOS
0

CLASIFICACIÓN
 of 20.449

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN

of 159.017

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
I want to write a recursive Function that can calculate the sum of all the digit. If the input is 12345 then the answer will be 1+2+3+4+5 , without using string2num and loop.
function sum = digit_sum(num) if fix(num)==0 sum=0; else x = fix(num/10); sum = rem(num,10) + digit_sum(x); ...

más de 3 años hace | 0