photo

youssef


Last seen: circa 2 mesi fa Attivo dal 2023

Followers: 0   Following: 0

Statistica

All
MATLAB Answers

0 Domande
2 Risposte

Cody

0 Problemi
28 Soluzioni

RANK
241.124
of 301.537

REPUTAZIONE
0

CONTRIBUTI
0 Domande
2 Risposte

ACCETTAZIONE DELLE RISPOSTE
0.00%

VOTI RICEVUTI
0

RANK
 of 21.318

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK
15.543
of 175.234

CONTRIBUTI
0 Problemi
28 Soluzioni

PUNTEGGIO
373

NUMERO DI BADGE
3

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • Community Group Solver
  • Promoter
  • First Answer
  • Solver

Visualizza badge

Feeds

Visto da

Risposto
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 x=digit_sum(n) x=0; if n<=0 x=0; else x=x+mod(n,10)+digit_sum((n-mod(n,10))/10); end end

oltre 2 anni fa | 0

Risposto
write a function called saddle in the input matrix M , the function should return with exactly two column vector and each row of output vector represent dimensions of saddle point in the input matrix M
function indices=saddle(M) indices=[]; [a,b]=size(M); rows=cell(a,1); %making the ceLLs for i=1:a rows{i,1}=M(i,:); e...

oltre 2 anni fa | 0