Creating a symmetric matrix from a single column vector

3 次查看(过去 30 天)
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.

采纳的回答

Star Strider
Star Strider 2018-2-15
That same example is in the documentation for the toeplitz function.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by