Prasanth Venkatesan
Followers: 0 Following: 0
Feeds
已回答
function with input a matrix and calcualte sum of elements of its diagonal and right of it
function summa =halfsum(m) [row,col]=size(m); for r=1:row; for c=r:col; a(r,c)=m(r,c); ...
function with input a matrix and calcualte sum of elements of its diagonal and right of it
function summa =halfsum(m) [row,col]=size(m); for r=1:row; for c=r:col; a(r,c)=m(r,c); ...
4 years 前 | 0