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

3 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

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

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by