![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/14945633_1551751730708_DEF.jpg)
Vikrant Prasad
Followers: 0 Following: 0
Statistica
MATLAB Answers
0 Domande
1 Risposta
RANK
6.014
of 293.595
REPUTAZIONE
8
CONTRIBUTI
0 Domande
1 Risposta
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
4
RANK
of 149.446
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risposto
Write a function called halfsum that takes as input an at most two-dimensional array A and computes the sum of the elements of A that are in the lower right triangular part of A
function summa = halfsum(A) [row, col]=size(A); sum=0; for i=1:row for j=i:col if i<=j sum= sum + ...
Write a function called halfsum that takes as input an at most two-dimensional array A and computes the sum of the elements of A that are in the lower right triangular part of A
function summa = halfsum(A) [row, col]=size(A); sum=0; for i=1:row for j=i:col if i<=j sum= sum + ...
oltre 5 anni fa | 4