Creating a symmetric matrix from a single column vector

6 views (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!