


[out] = rotate90(in, n) 90 degree counterclockwise rotations of matrix
in = input matrix (n,m) or (n,m,k)
n = number of 90 degree rotation
out = rotated matrix
default = 1
Usage:
out = rotate90(in)
out = rotate90(in, n)
Needs:
r90 (in this file)
Author: Peter Burns, 1 Oct. 2008
Copyright (c) 2007 Peter D. Burns