How to generate a symmetric Toeplitz matrix?
1 view (last 30 days)
Show older comments
How to generate a symmetric Toeplitz matrix ?
0 Comments
Accepted Answer
Stephan
on 18 Jan 2020
Edited: Stephan
on 18 Jan 2020
>> toeplitz([-pi 0 pi])
ans =
-3.1416 0 3.1416
0 -3.1416 0
3.1416 0 -3.1416
>> toeplitz([-pi -pi/2 0 pi/2 pi])
ans =
-3.1416 -1.5708 0 1.5708 3.1416
-1.5708 -3.1416 -1.5708 0 1.5708
0 -1.5708 -3.1416 -1.5708 0
1.5708 0 -1.5708 -3.1416 -1.5708
3.1416 1.5708 0 -1.5708 -3.1416
5 Comments
More Answers (0)
See Also
Categories
Find more on Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!