least-squares problem: B ~ X.A

*To*: mathgroup at smc.vnet.net*Subject*: [mg57329] least-squares problem: B ~ X.A*From*: "Pascal" <Pascal.Plaza at ens.fr>*Date*: Wed, 25 May 2005 06:02:32 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

Hi, I would like to find the solution of the least-squares problem: B ~ X.A, that is, given matrices B and A, find matrix X which minimizes the difference between B and X.A (typical dimensions, B: 500x60, X: 500x5, A: 5x60) Can Mathematica do that? Thank you for your help. Pascal.

**Follow-Ups**:**Re: least-squares problem: B ~ X.A***From:*Sseziwa Mukasa <mukasa@jeol.com>