[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: i just want to use nonlinear curve fitting function , what should i
From: |
Tatsuro MATSUOKA |
Subject: |
Re: i just want to use nonlinear curve fitting function , what should i do? |
Date: |
Sun, 17 Jan 2010 06:31:58 +0900 (JST) |
Hello
To write standalone program using octave libraries, it is better to install
octave once and use
mkoctfile --link-stand-alone as is written in the octave manual.
You have to read 'Appendix A Dynamically Linked Functions' in detail.
However, as I said, the non-linear curve fitting function is implemented in
function .m file but not
C++ files.
You have to translate it to C++ code by yourself or you write C++ codes using
quadratic optimization
function in liboctave.
As far as I know, there is no easy way what you want to do on the octave.
I hope someone else will give you better advises.
Regards
Tatsuro
--- boluor wrote:
> i want to use it in a debian server (64bit), but failed.
>
> there is a standalone program example in :
> http://www.gnu.org/software/octave/doc/interpreter/Standalone-Programs.html#Standalone-Programs
>
>
> octave is written in c++, so i believe there should be a library
> like .so or .dll(win),i can use its functions like "fit".
>
> is there a way ?
>
> 在 2010-01-16六的 08:10 +0900,Tatsuro MATSUOKA写道:
>
> > Hello
> >
> > In octave-forge, you can find non-linear curve fit script, leasqr.m
> >
> > See:
> > http://octave.sourceforge.net/doc/f/leasqr.html
> >
> > This function in function m files, you cannot use it standalone.
> >
> > Octave itself is an integrated numerical software, why you would like to
> > get standalone
> program from
> > octave?
> >
> > I think that you should a write program by yourself if you would like to to
> > carry out
> non-linear curve
> > fit by standalone program with reference to the fitting program, for
> > example, fit.c in gnuplot
> > sources.
> >
> > Regards
> >
> > Tatsuro
> >
> > --- boluor wrote:
> >
> > > i want to use the nonlinear curve fitting function in an standalone
> > > program ,and then i don't need to install octave in my computer.
> > >
> > > i know there is a "fit" function in gnuplot that do this job , and which
> > > in octave ?
> > >
> > > what should i do ?
> > >
> > > thank you!
> > > > _______________________________________________
> > > Help-octave mailing list
> > > address@hidden
> > > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> > >
> >
> >
> > --------------------------------------
> > Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
> > http://pr.mail.yahoo.co.jp/ie8/
> >
>
>
>
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/