HP71B: Min Max from Row or column in a matrix

01022016, 08:17 AM
Post: #1




HP71B: Min Max from Row or column in a matrix
Hallo!
I posted my question in the wrong forum  thanks Dieter for the hint. So i try to do this in the correct forum again. I'm looking for a function like in EXCEL to find the MAX, MIN and SUM from a row or column. I tried to find an easy solution for to find the maximum, the minimum and the sum from rows and columns of a matrix on my HP71b. There is no build in task in the MAT function and no function in the JPCROM too. So the only solution would be to read and compare each cell out of a matrix in BASIC. Do somebody have a hint for an easy way to do this in Basic or exist there a LEXfunction or can help me to solve this problem? would be great  best regards Erwin 

01022016, 09:26 PM
Post: #2




RE: HP71B: Min Max from Row or column in a matrix
(01022016 08:17 AM)Erwin Wrote: I tried to find an easy solution for to find the maximum, the minimum and the sum from rows and columns of a matrix on my HP71b. I am not at all familiar with the HP71's BASIC dialect, so I can't say much about userdefined functions and passing arguments by reference or value, but all this should be easy to do. The following example is some VBA code that calculates the sum of all matrix elements in the 3rd row of matrix A. Code: ... As far as I know the UBOUND function is also available in the 71B Math ROM, it returns the highest index of an array. Of course you would write this as a dedicated function rowsum(matrix, row), but since I don't know much about HP71 BASIC... Here the 71B community will know more. But all this (including min/max functions) is so simple that I wonder if this really is what you are looking for. ;) Dieter 

01052016, 07:06 PM
Post: #3




RE: HP71B: Min Max from Row or column in a matrix
.
Hi, Erwin: (01022016 08:17 AM)Erwin Wrote: I'm looking for a function like in EXCEL to find the MAX, MIN and SUM from a row or column. I tried to find an easy solution for to find the maximum, the minimum and the sum from rows and columns of a matrix on my HP71b. Have a look at this article of mine (in PDF format) which will probably provide some useful hints in order to accomplish what you want: HP71B Math ROM Baker's Dozen (Vol. 1) Regards. V. . Find All My HPrelated Materials here: Valentin Albillo's HP Collection 

01052016, 07:18 PM
Post: #4




RE: HP71B: Min Max from Row or column in a matrix
Hi Valentin!
Thanks for the hint to your article  I know some other useful thongs from you  I use in my work "Minimax Polynomial Fit" best regards Erwin (01052016 07:06 PM)Valentin Albillo Wrote: . 

01052016, 09:52 PM
Post: #5




RE: HP71B: Min Max from Row or column in a matrix
The Great Figure
Quote:Among the rain  William Carlos Williams 

01052016, 10:07 PM
Post: #6




RE: HP71B: Min Max from Row or column in a matrix
(01052016 09:52 PM)Thomas Klemm Wrote: The Great Figure I Saw the Figure 5 in Gold, by Charles Demuth. Greetings, Massimo +×÷ ↔ left is right and right is wrong 

« Next Oldest  Next Newest »

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