The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Plot specified column from matrix on HP50G
02-28-2020, 01:31 AM
Post: #1
Plot specified column from matrix on HP50G
Hi,

A quick question regarding plotting of data stored in matrices.

How would I programmatically plot a column C from a matrix M, say where
X is the independent var that runs from 1 to 3 (in this example),
and Y is the value stored at that index (row)

Example:
M = [[11 22] [33 44] [55 66]]
X is row index of M, 1..3 inclusive
C specifies column, 1 or 2 in this case

For example, if C is 1, then plot Y values 11,33,55 for X in {1,2,3}

Using User RPL is ok, or if there is another more direct way, that would help also.

Thanks..
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Plot specified column from matrix on HP50G - b17flyboy - 02-28-2020 01:31 AM



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