close Warning: Can't use blame annotator:
No changeset 422 in the repository

source: liacs/la/opdr3/rotate180.m@ 422

Last change on this file since 422 was 2, checked in by Rick van der Zwet, 15 years ago

Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)

File size: 164 bytes
RevLine 
1function B = rotate180(A)
2 [m,n] = size(A);
3 B = zeros(m,n);
4 for i=1:m
5 for j=1:n
6 B(i,j) = A(m + 1 - i,n + 1 - j);
7 end
8 end
Note: See TracBrowser for help on using the repository browser.