How to create this matrix shown in the screenshot?

1 view (last 30 days)

Accepted Answer

Prakash S R
Prakash S R on 27 Apr 2022
toeplitz() is your friend!
toeplitz([4 0 -2 0 0 0])
  4 Comments

Sign in to comment.

More Answers (0)

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by