Vectorised Way to Create Circulant Matrix

Fast vectorised way to create a circulant matrix.

You are now following this Submission

Circulant -function in circulant.m creates a LxL -circulant matrix by using two floating point vectors which are made periodical by using mod and ceil functions.

Just say >> c = circulant(L)

where L is an integer.

Cite As

Juha Karjalainen (2026). Vectorised Way to Create Circulant Matrix (https://www.mathworks.com/matlabcentral/fileexchange/8674-vectorised-way-to-create-circulant-matrix), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Chemistry in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0