![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18422743_1588918518029_DEF.jpg)
Geetanjali Alle
Followers: 0 Following: 0
Feeds
已回答
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(M) [row column]=size(M); summa=0; for i=1:row for j=1:column if i<j||i==j ...
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(M) [row column]=size(M); summa=0; for i=1:row for j=1:column if i<j||i==j ...
4 years 前 | 0