matrix with strings in Home - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: matrix with strings in Home (/thread-3993.html) |
matrix with strings in Home - salvomic - 05-27-2015 10:14 AM 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. RE: matrix with strings in Home - Tim Wessman - 05-27-2015 01:34 PM A matrix is a fixed size number container. It can only support real or complex numbers. Use a list. RE: matrix with strings in Home - salvomic - 05-27-2015 01:41 PM (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 RE: matrix with strings in Home - DrD - 05-27-2015 04:46 PM It sounds like using the spreadsheet app could a solution. RE: matrix with strings in Home - salvomic - 05-27-2015 04:48 PM (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... |