[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: easy questions

**From**: |
Heber Farnsworth |

**Subject**: |
Re: easy questions |

**Date**: |
Fri, 4 Apr 2003 15:26:09 -0600 |

`I presume you mean that m is a matrix and you want the first row. The
``correct notation is
`
m(1,:)
which returns the first row of the matrix m. The kth column would be
m(:,k)
Heber
On Friday, April 4, 2003, at 03:05 PM, Myriam Abramson wrote:

Hi!
How do I get a column vector or row vector out of a matrix?
I tried m(1,) but that does not work and I do have the manual in front
of me.
TIA
myriam
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------

-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------

**easy questions**, *Myriam Abramson*, `2003/04/04`
**Re: easy questions**,
*Heber Farnsworth* **<=**