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

5 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by