how to create a symmetric Toeplitz matrix with bounds on eigenvalues?

1 vue (au cours des 30 derniers jours)
Omar B.
Omar B. le 24 Jan 2020
Is there a way to creat a symmetic Toeplitz matrix of size 400 X 400 with real entries and its largest eigenvalue is 5 and the smallest eigenvalue is -5?
  1 commentaire
Matt J
Matt J le 27 Jan 2020
The question as originally posted:
"Is there a way to creat a symmetic Toeplitz matrix of size 400 X 400 with real entries and its largest eigenvalue is 5 and the smallest eigenvalue is -5?"

Connectez-vous pour commenter.

Réponse acceptée

Matt J
Matt J le 24 Jan 2020
R=fft(eye(400))/sqrt(400);
e=zeros(1,400);
e(2)=-10; e(end-1)=+10;
e=ifftshift(e);
T=(R'*diag(e)*R);
T=real((T+T.')/2);
>> min(eig(T))
ans =
-5.0000
>> max(eig(T))
ans =
5.0000
>> norm(T-T.')
ans =
0
  2 commentaires
Omar B.
Omar B. le 24 Jan 2020
Thank you so much. Is it Toeplitz matrix?
Matt J
Matt J le 25 Jan 2020
I claim that it is, but it's always smart to check.

Connectez-vous pour commenter.

Plus de réponses (1)

Christine Tobler
Christine Tobler le 27 Jan 2020
You can use the MATLAB function toeplitz with one input argument (two-input returns a non-symmetric Toeplitz matrix).
  1 commentaire
Christine Tobler
Christine Tobler le 27 Jan 2020
@Matt J, thanks for clarifying. When I was looking at this post 2 hours ago, it was only asking for symmetric Toeplitz matrix, without the condition on the eigenvalues.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Particle & Nuclear Physics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by