Post Reply 
matrix with strings in Home
05-27-2015, 10:14 AM (This post was last modified: 05-27-2015 10:42 AM by salvomic.)
Post: #1
matrix with strings in Home
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.

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
05-27-2015, 01:34 PM
Post: #2
RE: matrix with strings in Home
A matrix is a fixed size number container. It can only support real or complex numbers. Use a list.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
05-27-2015, 01:41 PM
Post: #3
RE: matrix with strings in Home
(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

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
05-27-2015, 04:46 PM
Post: #4
RE: matrix with strings in Home
It sounds like using the spreadsheet app could a solution.
Find all posts by this user
Quote this message in a reply
05-27-2015, 04:48 PM
Post: #5
RE: matrix with strings in Home
(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...

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)