Path: news.mathworks.com!not-for-mail From: <HIDDEN> Newsgroups: comp.soft-sys.matlab Subject: Re: lagrangian multiplier when there are two curves obtained from Date: Mon, 8 Jul 2013 06:33:16 +0000 (UTC) Organization: The MathWorks, Inc. Lines: 30 Message-ID: <krdmfc$8vo$1@newscl01ah.mathworks.com> References: <afdf151c-9b1e-4614-ab2e-a9ce4577be0c@googlegroups.com> <d4fcd555-67d7-4d4a-8657-6d1a84d6fcce@googlegroups.com> Reply-To: <HIDDEN> NNTP-Posting-Host: www-04-blr.mathworks.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: newscl01ah.mathworks.com 1373265196 9208 172.30.248.35 (8 Jul 2013 06:33:16 GMT) X-Complaints-To: news@mathworks.com NNTP-Posting-Date: Mon, 8 Jul 2013 06:33:16 +0000 (UTC) X-Newsreader: MATLAB Central Newsreader 3799640 Xref: news.mathworks.com comp.soft-sys.matlab:798957 Andrew Alkiviades <andrew.alkiviades@gmail.com> wrote in message <d4fcd555-67d7-4d4a-8657-6d1a84d6fcce@googlegroups.com>... > On Saturday, 6 July 2013 19:05:03 UTC+1, Andrew Alkiviades wrote: > > Hi - I have two curves, say "A" and "B" that I have obtained from experimental data > > > > > > > > I want to find the lagrangian multiplier of these two curves - i.e the point that maximizes "A" whilst minimizing "B" > > > > > > > > I understand that the curve fitting toolbox can do this but I dont have access to this toolbox on my system > > > > > > > > Does anyone know of another function / way to tackle this problem? > > > > > > > > I understand it might be quite straightforward but I am very new in Matlab and am struggling! > > > > > > > > Thank you Why should there be a point that simultaneously maximizes A and minimizes B ? I understand that - on a compact interval - there usually is a point that maximizes A-B, but ... Best wishes Torsten.