How to generate this matrix?

2 visualizaciones (últimos 30 días)
Szabó Ármin
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
Szabó Ármin
Szabó Ármin el 21 de Mzo. de 2021
Thank you!
Image Analyst
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.

Iniciar sesión para comentar.

Respuesta aceptada

Bruno Luong
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

Más respuestas (0)

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!

Translated by