Effacer les filtres
Effacer les filtres

Creating a symmetric matrix from a single column vector

4 vues (au cours des 30 derniers jours)
Ben McSeveney
Ben McSeveney le 15 Fév 2018
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
That same example is in the documentation for the toeplitz function.

Plus de réponses (0)

Catégories

En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by