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.

Respuestas (1)

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

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Preguntada:

el 17 de Oct. de 2020

Editada:

el 18 de Oct. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by