View Single Post
  #10 (permalink)  
Old 06-06-2007, 09:02 PM
Stellaferox Stellaferox is offline
Basic4ppc Veteran
 
Join Date: Apr 2007
Posts: 203
Default

I think the problem lies in

Par(0) = LN(sY1/sY0)

a few lines above that sY0 doesnt take the value I want and remains zero thus dividing by zero...
then I get an error in the line

vv = vv + Par(j) * X(i*(nR+1)+j)

saying "input string was not in correct format. I wonder why sY0 doesnt take values because that should be the case with the initial data.
Reply With Quote