From: Rakia on
Hello,
This is another question regarding curve fitting, please. In the curve fitting documentation it says that ' Curve Fitting Toolbox software ignores Infs and NaNs when fitting'. This is the case when I fit a curve interactively. However, if I generate code then I get the error message
??? XDATA, YDATA or WEIGHTS cannot have NaN values.
even though I do have the logical operator ok in my data:
if ~all( ok_ )
warning( 'GenerateMFile:IgnoringNansAndInfs', ...
'Ignoring NaNs and Infs in data' );
end
Any idea where my error could be?
Thanks,
Rakia
 | 
Pages: 1
Prev: helo
Next: ADX, +DI, -DI, parabolic SAR