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

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

[Octave-patch-tracker] [patch #7427] Fix obsolete description of an exmp


From: Tatsuro MATSUOKA
Subject: [Octave-patch-tracker] [patch #7427] Fix obsolete description of an exmple for fsolve using Jacobian
Date: Tue, 21 Dec 2010 17:34:51 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10

URL:
  <http://savannah.gnu.org/patch/?7427>

                 Summary: Fix obsolete description of an exmple for fsolve
using Jacobian 
                 Project: GNU Octave
            Submitted by: tmacchant
            Submitted on: 2010年12月21日 17時34分45秒
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: 2010年12月21日 17時34分45秒  Name: nonlin.txi.diff  Size: 776B  
By: tmacchant
A patch for nonlin.txi
<http://savannah.gnu.org/patch/download.php?file_id=22259>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7427>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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