HP Forums

Full Version: (50g and Prime): Finding the Moore-Penrose Matrix using LSQ
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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/h...ction.html
Reference URL's