Naitikkumar Darji
2018년부터 활동
Followers: 0 Following: 0
Feeds
질문
i want to get top right n x n matrix out of Nx N, I programmed it in following way but i got answer two times. so what is my mistake?
a = top_right(N,n) [j , k] = size(N); a = N([1:1:j-(j-n) , 1:1:k-(k-n)],1:n); end
대략 6년 전 | 답변 수: 1 | 0