bugGNU Octave - Bugs: bug #64508, [octave forge] (optim) ...

 
 

bug #64508: [octave forge] (optim) lsqcurvefit error from jacobian output

Submitter:  Liang Tang <lt1234>
Submitted:  Wed 02 Aug 2023 07:21:55 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  None Assigned to:  None
Originator Name:  lt1234 Open/Closed:  * Open
Release:  * 8.2.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 02 Aug 2023 07:21:55 PM UTC, original submission:  

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

Liang Tang <lt1234>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lt1234 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-c373.
    Corresponding source code