HP Forums

Full Version: help for opération for array
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'm interesting to kown how it's posible to extract for example the firt colum of an array.
I did only program in RPN mode with HP50G and now I try to do the same programs of topography with the prime.

with RPN mode:
I want to extract the first colum, and transform this in a list like this:

array name M1
in RPN :

M1 1 COL- ->ROW ->LIST

I hope you undersdand my question and thanks for your help. Wink

thierry[/code]
Do you mean like this:

RANDMAT(M1,3,3); // to get a matrix in M1
L0:=mat2list(transpose(M1(-1))); // The first column of M1 transposed to a row, and then converted to a list

-Dale-
Thanks a lot, I try this and all is ok.

Wink

thierry
Reference URL's