Learn R Programming

waved (version 1.3)

rot90: Rotate matrix 90 degrees

Description

Rotate matrix 90 degrees

Usage

rot90(x)

Value

90 degrees rotation of $x$.

Arguments

x

A square matrix.

Author

Marc Raimondo

References

Raimondo, M. and Stewart, M. (2007), `The WaveD Transform in R', Journal of Statistical Software.

See Also

WaveD

Examples

Run this code
 rot90(1:5)

Run the code above in your browser using DataLab