HP Forums

Full Version: matrix with strings in Home
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi everybody,
I should use a matrix like [["First", "Second"],[1,2]] (to have a heading row).
I get it in CAS, but in Home I get error.
Any help, please?

Salvo

EDIT:
about this, I should also write on a matrix (from a program) fractions, like 1/5, 2/5 ... or like strings or like symbolic fractions. Normally I get 0.2, 0.4 ...
I need hints to do that.
A matrix is a fixed size number container. It can only support real or complex numbers. Use a list.
(05-27-2015 01:34 PM)Tim Wessman Wrote: [ -> ]A matrix is a fixed size number container. It can only support real or complex numbers. Use a list.

hi Tim, I'd use a list, but for example with my program for Depreciation of asset I need to present data as a table (4-6 columns), so I thought about matrix, more immediate than a list in this case...

For now, I'm presenting in another way the heading row of the matrix, then, a part of it, the matrix.

Thank you for help!

Salvo
It sounds like using the spreadsheet app could a solution.
(05-27-2015 04:46 PM)DrD Wrote: [ -> ]It sounds like using the spreadsheet app could a solution.

It's an idea, but for now I'm confused: I must export three tables...
Reference URL's