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

2 views (last 30 days)
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.

Answers (1)

Matt J
Matt J on 17 Oct 2020
Edited: Matt J on 18 Oct 2020
Taking the question literally, one solution would be,
(1:6).'
but I feel there must be missing information.

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!