image thumbnail


version (1.29 KB) by Damith Senaratne
Computes a basic circulant permutation matrix raised to an arbitrary power.


Updated 14 Oct 2011

View License

Usage: circperm(N,l)

Efficiently computes the basic NxN circulant permutation matrix raised to power 'l' (default: l = 1).

Based on the definition of "Circulant permutation matrix": 'Matrix Analysis', Rogers A. Horn and Charles A. Johnson, Cambridge University Press, 1985 (Page 26)

e.g. rand*circperm(5,1)+rand*circperm(5,2)+rand*circperm(5,3)

Cite As

Damith Senaratne (2021). circperm (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!