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

조회 수: 1 (최근 30일)
Omar B.
Omar B. 2020년 1월 24일
댓글: Christine Tobler 2020년 1월 27일
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
Matt J
Matt J 2020년 1월 27일
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?"

댓글을 달려면 로그인하십시오.

채택된 답변

Matt J
Matt J 2020년 1월 24일
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
Omar B.
Omar B. 2020년 1월 24일
Thank you so much. Is it Toeplitz matrix?
Matt J
Matt J 2020년 1월 25일
I claim that it is, but it's always smart to check.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Christine Tobler
Christine Tobler 2020년 1월 27일
You can use the MATLAB function toeplitz with one input argument (two-input returns a non-symmetric Toeplitz matrix).
  댓글 수: 1
Christine Tobler
Christine Tobler 2020년 1월 27일
@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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by