Azzera filtri
Azzera filtri

Creating a symmetric matrix from a single column vector

4 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Multidimensional Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by