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.

 채택된 답변

Star Strider
Star Strider 2018년 2월 15일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Robust Control Toolbox에 대해 자세히 알아보기

질문:

2018년 2월 15일

답변:

2018년 2월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by