photo

MANOGNA POTLURI


Last seen: 約3年 前 2020 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 2
  • Thankful Level 1

バッジを表示

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 ...

4年弱 前 | 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...

約4年 前 | 1 件の回答 | 0

1

回答