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

7 ビュー (過去 30 日間)
Benjamin Nienhouse
Benjamin Nienhouse 2020 年 10 月 17 日
編集済み: Matt J 2020 年 10 月 18 日
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 日
Taking the question literally, one solution would be,
(1:6).'
but I feel there must be missing information.

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by