photo

Naitikkumar Darji


Attivo dal 2018

Followers: 0   Following: 0

Statistica

  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta