Mercurial > octave-nkf
view test/octave.test/matrix/rot90-1.m @ 5301:9302581b820d ss-2-9-2
[project @ 2005-04-22 17:08:07 by jwe]
author | jwe |
---|---|
date | Fri, 22 Apr 2005 17:09:11 +0000 |
parents | 1aeffa048808 |
children |
line wrap: on
line source
x1 = [1, 2; 3, 4]; x2 = [2, 4; 1, 3]; x3 = [4, 3; 2, 1]; x4 = [3, 1; 4, 2]; (rot90 (x1)== x2 && rot90 (x1, 2) == x3 && rot90 (x1, 3) == x4 && rot90 (x1, 4) == x1 && rot90 (x1, 5) == x2 && rot90 (x1, -1) == x4)