octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58679] Missing function lsqminnorm


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #58679] Missing function lsqminnorm
Date: Tue, 30 Jun 2020 09:25:18 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Edg/83.0.478.56

Follow-up Comment #4, bug #58679 (project octave):

Octave's backslash operator is different from Matlab's backslash operator.
AFAICT, this difference is intentional:
http://wiki.octave.org/Differences_between_Octave_and_Matlab#Solvers_for_singular.2C_under-_and_over-determined_matrices

If I understand Matlab's documentation for "lsqminnorm" correctly, it
minimizes the 2-norm of A*X-B (i.e. it calculates a least-squares solution of
the problem A*X=B):
>> X = lsqminnorm(A,B) returns an array X that solves the linear equation AX =
B and minimizes the value of norm(A*X-B). If several solutions exist to this
problem, then lsqminnorm returns the solution that minimizes norm(X).

I'm not an expert in that field. So please correct me if I'm wrong.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58679>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]