How to generate a symmetric Toeplitz matrix?

2 次查看(过去 30 天)
How to generate a symmetric Toeplitz matrix ?

采纳的回答

Stephan
Stephan 2020-1-18
编辑:Stephan 2020-1-18
>> 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 个评论
Stephan
Stephan 2020-1-19
Did you notice that you can accept and/or vote for useful answers?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by