circperm

Computes a basic circulant permutation matrix raised to an arbitrary power.
201 Downloads
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 (2024). circperm (https://www.mathworks.com/matlabcentral/fileexchange/33277-circperm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Atomic, Molecular & Optical in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0