Feeds
질문
How to select a sub square matrix, from a matrix; given the size of the sub square matrix and middle element
M = [ 82 10 16 15 66 76 91 28 98 43 4 75 13 55 96 92 85 40 92 ...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
I have to find the sum of the elements in the upper dimension matrix and this is the code i came up with. When I submitted this code it's showing error.
function summa=halfsum(A) n=length(A); k=1; [m,p]=size(A); if m~=p return else summa=0; for i=1:n for j=k...
5년 초과 전 | 답변 수: 1 | 0

