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

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

[Octave-bug-tracker] [bug #45871] fsolve. different output octave and ma


From: anonymous
Subject: [Octave-bug-tracker] [bug #45871] fsolve. different output octave and matlab
Date: Thu, 03 Sep 2015 20:41:38 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?45871>

                 Summary: fsolve. different output octave and matlab
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Qui 03 Set 2015 20:41:37 UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Hello, I'm working with a fiscal model in both matlab and octave (octave 3.8.1
and dynare version 4.4.3). My routine is to run a simulation file
(simula_mod_fiscal_04_bre_02b.m), where I set the value of parameters and
compute the steady state (calling mod_fiscal_04_ss_solve), prior to runing the
.mod file. The idea is to variate the nr_i parameter (it can be 0.2, 0.4, 0.6)
which stands for the proportion of non-ricardian agents (who work) in the
economy. When I run this simulation file on matlab, it works perfectly.
However, when running in octave, it doesn't "work" for nr_i = 0.2 and nr_i =
0.6 . I've checked the steady state values and they are equal for 0.4 but
different for 0.2. Does anyone know why this is happening? The files (.m and
.mod) are attached. 

Thank you!!!!

p.s: I believe the problem is in the fsolve() function (found in the
mod_fiscal_04d_ss_solve.m file)



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Qui 03 Set 2015 20:41:37 UTC  Name: mod_fiscal_04_ss.m  Size: 11kB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=34808>
-------------------------------------------------------
Date: Qui 03 Set 2015 20:41:37 UTC  Name: mod_fiscal_04d_ajs_tax.mod  Size:
28kB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=34809>
-------------------------------------------------------
Date: Qui 03 Set 2015 20:41:37 UTC  Name: mod_fiscal_04_ss_solve.m  Size: 12kB
  By: None

<http://savannah.gnu.org/bugs/download.php?file_id=34810>
-------------------------------------------------------
Date: Qui 03 Set 2015 20:41:37 UTC  Name: simula_mod_fiscal_04_bre_02b.m 
Size: 13kB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=34811>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45871>

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




reply via email to

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