Hello,
Can you help me how to generate this matrix?

2 commentaires

Szabó Ármin
Szabó Ármin le 21 Mar 2021
Thank you!
Image Analyst
Image Analyst le 21 Mar 2021
If it worked, please Accept Bruno's answer below to give him "credit" for it. Thanks in advance.

Connectez-vous pour commenter.

 Réponse acceptée

Bruno Luong
Bruno Luong le 21 Mar 2021

0 votes

>> rho=rand
rho =
0.8832
>> N=4
N =
4
>> a=rho.^(0:N-1);
>> M=toeplitz(a,a)
M =
1.0000 0.8832 0.7800 0.6889
0.8832 1.0000 0.8832 0.7800
0.7800 0.8832 1.0000 0.8832
0.6889 0.7800 0.8832 1.0000
>> C = sigma^2*M % whatever sigma is

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by