Creating a symmetric matrix from a single column vector

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.

 Réponse acceptée

Star Strider
Star Strider le 15 Fév 2018

0 votes

That same example is in the documentation for the toeplitz function.

Plus de réponses (0)

Catégories

En savoir plus sur Robust Control Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by