MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: incompatibilities

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104801] Re: incompatibilities
  • From: dh <dh at metrohm.com>
  • Date: Tue, 10 Nov 2009 06:00:54 -0500 (EST)
  • References: <hd6bf1$oj6$1@smc.vnet.net>


Mi Maria,

NonlinearModelFit is built in and there is no need to input it.

Lookup NonlinearModelFit in the manual.

Daniel



maria giovanna dainotti wrote:

> Dear mathgroup,

> I am using the version 7 but there are some incompatibilities for example

> <<NonlinearModelFit`;

> it gives the following error message:

>  Get::noopen: Cannot open \[NoBreak]NonlinearModelFit`\[NoBreak].

> I have used needs but it is not working.

> and another error

>  

>  ns==100;

> afMin==-2.5;

> afMax==1.5;

> afStep==N[(afMax-afMin)/ns];

> SigmaIntMin==0.0;

> SigmaIntMax==1.5;

> SigmaIntStep==N[(SigmaIntMax-SigmaIntMin)/ns];

>  Print["Number of points in the grid : Ngrid == ",(ns+1)2," giving

> Print["Estimated time to run : trun Number of points in the grid : Ngrid ===

>  (1+ns)2 giving =EF=81=84a == afStep , =EF=81=84=EF=81=B3int == SigmaIntStep .

> Estimated time to run : trun =EF=82=B3 0.0624959 (1. +ns)2 seconds == 0.0010416 (1. +ns)2 minutes == 0.00001736 (1. +ns)2 hours.

> This should give me the exact number, instead there is always the ns.

> Furthermore if I do:

>  =EF=81=B3,lnL[a,=EF=81=B3,FitTab]}],{=EF=81=B3,SigmaIntMin,SigmaIntMax,SigmaIntStep}],{a,afMin,afMax,afStep}]];Do::iterb: Iterator \[NoBreak]{a,afMin,afMax,afStep}\[NoBreak] does not have appropriate bounds.

>  

>  

>  

> I will be very grateful if you could help me.

> Thanks a lot

> Best regards

> Maria

> I qijbiub pi=C3=B2uI ThesebestsolDE==NMinimize[{lnLInt[a,=EF=81=B3],afMin=EF=82=A3a=EF=82=A3afMax,SigmaIntMin=EF=82=A3=EF=81=B3=EF=82=A3Im =EF=82=87

> FitTab==DataGood[[All,{1,2,3,4}]]

> TablnL=={};

> Timing[Do[Do[AppendTo[TablnL,{a,

> Export["lnLTab-LxTaNewSymmErr-u0.09-allz.dat",TablnL,"Table"]

>  

>  

>  =EF=81=84a == ",afStep,", =EF=81=84=EF=81=B3int == ",SigmaIntStep,"."]=EF=82=B3",N[7.562*((ns+1)/(10+1))2]," seconds == ",N[7.562/60*((ns+1)/(10+1))2]," minutes == ",N[7.562/3600*((ns+1)/(10+1))2]," hours."]

> 

> 

>      




  • Prev by Date: Re: Re: How to get data from solvin'
  • Next by Date: Re: Ten chess-players...
  • Previous by thread: incompatibilities
  • Next by thread: Re: Re: Passing function arguments as lists of