How to generate a symmetric Toeplitz matrix?

1 Ansicht (letzte 30 Tage)
Omar B.
Omar B. am 18 Jan. 2020
Bearbeitet: Omar B. am 26 Jan. 2020
How to generate a symmetric Toeplitz matrix ?

Akzeptierte Antwort

Stephan
Stephan am 18 Jan. 2020
Bearbeitet: Stephan am 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 Kommentare
Omar B.
Omar B. am 19 Jan. 2020
Thank you so much
Stephan
Stephan am 19 Jan. 2020
Did you notice that you can accept and/or vote for useful answers?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by