photo

Deepanshu Parihar


MathWorks MOOC Program

Aktiv seit 2015

Followers: 0   Following: 0

Nachricht

Statistik

MATLAB Answers

1 Frage
0 Antworten

RANG
207.728
of 300.847

REPUTATION
0

BEITRÄGE
1 Frage
0 Antworten

ANTWORTZUSTIMMUNG
100.0%

ERHALTENE STIMMEN
0

RANG
 of 21.094

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 171.279

BEITRÄGE
0 Probleme
0 Lösungen

PUNKTESTAND
0

ANZAHL DER ABZEICHEN
0

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Discussions

DURCHSCHNITTLICHE ANZAHL DER LIKES

Feeds

Anzeigen nach

Frage


Write a function called halfsum that takes as input an at most two-dimensional matrix A and computes the sum of the elements of A that are in the diagonal or are to the right of it. example, the input is [1 2 3; 4 5 6; 7 8 9],the ans is 26
function s = halfsum(A) [row col] = size(A); if row ~= col error('Expecting a square matrix here people...'); end s = 0; ...

mehr als 10 Jahre vor | 8 Antworten | 0

8

Antworten