need mat lab coding for circulant matrix

A=[0 1 0 0 0 1
1 0 1 0 0 0
0 1 0 1 0 0
0 0 1 0 1 0
0 0 0 1 0 1
1 0 0 0 1 0]

1 Comment

A = [0 1 0 0 0 1] % first row
B = toeplitz(A) % circulant matrix

Sign in to comment.

Answers (0)

Categories

Asked:

on 12 Aug 2021

Commented:

on 12 Aug 2021

Community Treasure Hunt

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

Start Hunting!