Change row vector to column vector

matlab, vector

Solution

I would imagine you could just transpose:

p = (normal(1:750)-1)'

Problem

How can I change this into a column, at the moment all 750 entries are on one row? ``` p = normal(1:750)-1; ``` I have tried: ``` columns = 1; p = normal(1:750)-1; p = p(1:columns); ``` I have also tried: ``` rows = 1000; p = normal(1:750)-1; p = p(1:rows)'; ```

Original source