How to generate this matrix?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Szabó Ármin
el 21 de Mzo. de 2021
Comentada: Image Analyst
el 21 de Mzo. de 2021
Hello,
Can you help me how to generate this matrix?
2 comentarios
Image Analyst
el 21 de Mzo. de 2021
If it worked, please Accept Bruno's answer below to give him "credit" for it. Thanks in advance.
Respuesta aceptada
Bruno Luong
el 21 de Mzo. de 2021
>> 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
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!