Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Matrix indexing a column on TI-89

247 views
Skip to first unread message

Chris Carlen

unread,
Jul 17, 2008, 5:48:43 PM7/17/08
to
Hi:

A TI-89 question, but I don't know where else to ask (well there are
probably forums, but I'm old school USENET).

How to access a column of a matrix?

The dumb thing can of course access a row, as in:

[[1,2,3][4,5,6]][1] Enter

[1,2,3]

But how can I index one of the 3 columns in this matrix to get for ex,
the first column vector:

[[1][4]] ???

I suppose I will have to write a function for this. Just hoping there
is a built-in syntax for this.


Thanks.


--
Good day!

____________________________________
CRC
crobcRE...@BOGUSsbcglobal.net
NOTE, delete texts: "REMOVETHIS" and
"BOGUS" from email address to reply.

username localhost

unread,
Jul 18, 2008, 10:24:18 AM7/18/08
to
On Jul 17, 5:48 pm, Chris Carlen <crobcREMOVET...@sbcglobal.net>
wrote:

> Hi:
>
> A TI-89 question, but I don't know where else to ask (well there are
> probably forums, but I'm old school USENET).
>
> How to access a column of a matrix?
>
> The dumb thing can of course access a row, as in:
>
> [[1,2,3][4,5,6]][1] Enter
>
> [1,2,3]
>
> But how can I index one of the 3 columns in this matrix to get for ex,
> the first column vector:
>
> [[1][4]] ???
>

Good question.
I do't tink there is a built in function for that,
but defining one is easy. Obviously, one can use the row access with
two transpositions to get the desired result.

Or I just tested "define col(m,n)=subMat(m,1,n,rowDim(m),n)", which
gives [1;3] for col([1,2;3,4],1) and [2;4] for col([1,2;3,4],2).
I also tested it with non-square matrices, just to be sure I did not
get the function arguments wrong, but they worked too.

username@localhost

Chris Carlen

unread,
Jul 23, 2008, 5:45:25 PM7/23/08
to


Thanks for the reply! I'll give that a whirl.

0 new messages