Creating a symmetric matrix from a single column vector

6 visualizaciones (últimos 30 días)
How do I create a symmetric matrix from a given column vector, e.g. [1 2 3; 2 1 2; 3 2 1] from [1; 2; 3]?
I have a 84x1 column vector of data so need a quick method.

Respuesta aceptada

Star Strider
Star Strider el 15 de Feb. de 2018
That same example is in the documentation for the toeplitz function.

Más respuestas (0)

Categorías

Más información sobre Logical 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