2011/11/16 Júlio Maranhão <ju...@maranhao.us>: > I am new to Octave. I am using Ubuntu 11.10 and Octave 3.2.4 and I > installed octave-financial package. > > >From financial package there is a rate() function. This is what I get: > > octave:25> rate(30, 510.19, 10000) > error: error creating function handle "@pv (x, 30, 510.19, 0, "e") - 10000" > error: called from: > error: /usr/share/octave/3.2.4/m/optimization/fsolve.m at line 138, column 9 > error: /usr/share/octave/packages/3.2/financial-0.3.2/rate.m at line > 69, column 5 > > I tested pmt(), pv() and nper() without errors. The values are: > > pmt = 510.19 > pv = 10000 > nper = 30 > rate = 0.03 (3%) > > Is it reproducible? > > Cheers. > > Júlio > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Octave-dev mailing list > Octave-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/octave-dev >
Julio, Octave 3.4.3, financial 0.3.2 octave:2> rate(30, 510.19, 10000) error: @pv (x, 30, 510.19, 0, "e") - 10000: no function and no method found error: called from: error: /usr/local/share/octave/3.4.3-rc0/m/optimization/fsolve.m at line 149, column 9 error: /home/juanpi/octave/financial-0.3.2/rate.m at line 69, column 5 You may want to move forward in the version of Octave. If you are in 32bits you can try out this binaries, they were successfully tested many times by now. http://ubuntuone.com/6l35Gf3j8alWL7fGeYW388 Cheers, -- M. Sc. Juan Pablo Carbajal ----- PhD Student University of Zürich http://ailab.ifi.uzh.ch/carbajal/ ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev