patchGNU Octave - Patches: patch #7427, Fix obsolete description of an...

 
 

patch #7427: Fix obsolete description of an exmple for fsolve using Jacobian

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Tue 21 Dec 2010 05:34:45 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 22 Dec 2010 08:03:38 PM UTC, comment #2: 

Thank you for your committing my patch.  Next time I will use the Mercurial system.

Tatsuro

Tatsuro MATSUOKA <tmacchant>
Wed 22 Dec 2010 08:59:25 AM UTC, comment #1: 

I added a ChangeLog entry and checked in this changeset, credited to you.  In the future, it would be easier to ensure that you get credit for changes if you submit Mercurial changesets instead of sending simple diffs.  If you are not sure how to do that, there is some info in the Octave manual now about how to generate changesets with Mercurial.

Thanks.

John W. Eaton <jwe>
Group administrator
Tue 21 Dec 2010 05:34:45 PM UTC, original submission:  

Hello

I have found an obsolete description of an exmple for fsolve using Jacobian in nonlin.txi.

**************************************************************
function y = f (x)
  y(1) = -2*x(1)^2 + 3*x(1)*x(2)   + 4*sin(x(2)) - 6;
  y(2) =  3*x(1)^2 - 2*x(1)*x(2)^2 + 3*cos(x(1)) + 4;
endfunction
@end group
@end example

Then, call @code{fsolve} with a specified initial condition to find the
roots of the system of equations.  For example, given the function
@code{f} defined above,

@example
[x, fval, info] = fsolve (@@f, [1; 2])
@end example
**************************************************************

I have tried to make patch to fix it.

Regards

Tatsuro

Tatsuro MATSUOKA <tmacchant>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #22259:  nonlin.txi.diff added by tmacchant (776B - A patch for nonlin.txi)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by tmacchant (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 logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-22 jwe StatusNone Done
        Open/ClosedOpen Closed
    2010-12-21 tmacchant Attached File- Added nonlin.txi.diff, #22259

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code