MATLAB Answers

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

4 views (last 30 days)
Benjamin Nienhouse
Benjamin Nienhouse on 17 Oct 2020
Edited: Matt J on 18 Oct 2020
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.

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!