HP Forums
(50g and Prime): Finding the Moore-Penrose Matrix using LSQ - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (50g and Prime): Finding the Moore-Penrose Matrix using LSQ (/thread-2633.html)



(50g and Prime): Finding the Moore-Penrose Matrix using LSQ - Eddie W. Shore - 12-16-2014 01:43 PM

Syntax:

M is the matrix with r rows and c columns

HP Prime:

LSQ(matrix, IDENMAT(r))

Where IDENMAT is the identity matrix command.

Path to IDENMAT: Toolbox, Math, 7. Matrix, 4. Create, 2. Identity
Path to LSQ: Toolbox, Math, 7. Matrix, 7. Factorize, 2. LSQ

HP 50g:

2: identity matrix of dimension r x r (R IDN)
1: matrix
LSQ

Build the identity matrix by entering r, then [Left Shift], [5] (MATRICES), [F1] (CREATE), [F4] (IDN)
Path to LSQ: [Left Shift], [5] (MATRICES), [F2] (OPER), [NXT], [F2] (LSQ)

Link to Blog: http://edspi31415.blogspot.com/2014/12/hp-prime-and-hp-50g-using-lsq-function.html