Create column vector with same length as a matrix(6x6).

So I'm wondering how you would create a column vector with the same length as a matrix (I'm using a 6x6 matrix) using the transpose oporator.
I have no idea how to do this so any advice would be much appreaciated.
Thanks,
Ben.

回答 (1 件)

Matt J
Matt J 2020 年 10 月 17 日
編集済み: Matt J 2020 年 10 月 18 日

0 投票

Taking the question literally, one solution would be,
(1:6).'
but I feel there must be missing information.

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2020 年 10 月 17 日

編集済み:

2020 年 10 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by