Post Reply 
HP 50g using datasets from SD card
05-20-2020, 05:02 AM
Post: #13
RE: HP 50g using datasets from SD card
(05-19-2020 05:16 PM)John Keith Wrote:  Since these files are already on a computer, it may be easiest to read them in with EMU48 and then save them as HP 50g matrices on the SD card. Then the files will be available on the 50g without conversion being necessary.

FWIW:

I tried converting a list of 1500 random real numbers that were generated on a PC using Excel. The list was made by copying a column of numbers into a text file on the PC, which I named "NUMBERS.TXT".

NUMBERS.TXT was copied to my 50g's SD card.

The SD card was inserted into my 50g, then the calculator was turned on.

I recalled the file/string to the stack using the Filer, and then enclosed the entire string in {} brackets with:
Code:
"{" SWAP + "}"  +

The resulting string was converted to a list with STR→ (which took about 28 seconds), then an array (with AXL). I then converted the array into a single-column array with:
Code:
{ 1500 1 } RDM

The resulting 1-column array was stored on the SD card as a binary object with:
Code:
"ARRAYOBJ" 3 →TAG STO

The binary object on the card had a size of 12,023 bytes. Similar steps using Emu48 had the same final result, but completed much faster (of course).

This text-based narrative looks much more involved than it actually was when I was doing it. Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 50g using datasets from SD card - DavidM - 05-20-2020 05:02 AM



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