Friday N. Abolorunke
Followers: 0 Following: 0
Feeds
已回答
Write a function that returns triangular part of matrix using loops
function summa = halfsum(A) [m,n] = size(A); for ii = 1:m for jj = 1:n if ii > jj A(ii,jj) = 0 ...
Write a function that returns triangular part of matrix using loops
function summa = halfsum(A) [m,n] = size(A); for ii = 1:m for jj = 1:n if ii > jj A(ii,jj) = 0 ...
4 years 前 | 0