[Top][All Lists]

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

[Octave-bug-tracker] [bug #46808] Convergence problems????

From: anonymous
Subject: [Octave-bug-tracker] [bug #46808] Convergence problems????
Date: Mon, 04 Jan 2016 10:23:54 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0


                 Summary: Convergence problems????
                 Project: GNU Octave
            Submitted by: None
            Submitted on: lun 04 ene 2016 10:23:53 UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows



Solving with fzero this function using two different seeds and obtaining a
correct result and a 'not a valid initial bracketing':

>> f=inline('sin(beta-0.361)+sin(0.361)*exp(-beta/0.377)','beta');
>> fzero(f, pi) % ok
ans =  3.50262524454451
>> fzero(f, pi/2) % ERROR ¿convergence problem???
error: fzero: not a valid initial bracketing
error: called from
    fzero at line 176 column 5

But it is a smooth function, and therefore using MATLAB not reported any
error. You can plot the function with:
>> fplot(f,[-pi, pi]);


Reply to this item at:


  Mensaje enviado vía/por Savannah

reply via email to

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