How to generate a symmetric Toeplitz matrix?

1 vue (au cours des 30 derniers jours)
Omar B.
Omar B. le 18 Jan 2020
Modifié(e) : Omar B. le 26 Jan 2020
How to generate a symmetric Toeplitz matrix ?

Réponse acceptée

Stephan
Stephan le 18 Jan 2020
Modifié(e) : Stephan le 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 commentaires
Omar B.
Omar B. le 19 Jan 2020
Thank you so much
Stephan
Stephan le 19 Jan 2020
Did you notice that you can accept and/or vote for useful answers?

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by