[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64508] [octave forge] (optim) lsqcurvefit err
From: |
Liang Tang |
Subject: |
[Octave-bug-tracker] [bug #64508] [octave forge] (optim) lsqcurvefit error from jacobian output |
Date: |
Wed, 2 Aug 2023 15:21:57 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?64508>
Summary: [octave forge] (optim) lsqcurvefit error from
jacobian output
Group: GNU Octave
Submitter: lt1234
Submitted: Wed 02 Aug 2023 07:21:55 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name: lt1234
Originator Email:
Open/Closed: Open
Release: 8.2.0 8.X Series Bug Fix Release
Discussion Lock: Any
Operating System: Microsoft Windows
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 02 Aug 2023 07:21:55 PM UTC By: Liang Tang <lt1234>
Jacobian output caused an error message.
Example:
xdata=(pi/2)*[-1 -1/2 0 1/2 1]';
ydata=cos(xdata);
x0=0;
fun=@(x,xdata) x*cos(xdata);
[x, resnorm, residual, exitflag, output, lambda]=lsqcurvefit (fun, x0, xdata,
ydata)
[x, resnorm, residual, exitflag, output, lambda, jacobian]=lsqcurvefit (fun,
x0, xdata, ydata)
Outputs from the first call:
x = 1.0000
resnorm = 6.6566e-23
residual =
-3.5325e-28
-4.0794e-12
-5.7692e-12
-4.0794e-12
-3.5325e-28
exitflag = 3
output =
scalar structure containing the fields:
iterations = 4
lambda = [](0x0)
Error message from the 2nd call:
error: 'settings' undefined near line 309, column 37
error: called from
lsqcurvefit at line 308 column 10
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64508>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #64508] [octave forge] (optim) lsqcurvefit error from jacobian output,
Liang Tang <=