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 ExchangeRobust 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