You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for providing a Kriging and RBFInterpolation function!
I'm trying to use:
RBFInterpolation(coords, vals, new GaussianRadialBasis())
coords is a 2d double array of points in a x,y plane with a range (0,3000). vals is a 1d double array of values in the range (20-100). After initializing the RBFInterpolation I try to call interpolate(x,y) where x and y are in the range (0,3000) eg interpolate(153,331) and the result is NaN.
I noticed in your ScatterDemo code you swap the coordinates and you multiply it by a scaling factor:
rbf.interpolate(j_.12, i_12)
Do I need to swap my x and y coordinates when calling interpolate? What is the significance of the scaling factor?
The text was updated successfully, but these errors were encountered:
Thanks for providing a Kriging and RBFInterpolation function!
I'm trying to use:
RBFInterpolation(coords, vals, new GaussianRadialBasis())
coords is a 2d double array of points in a x,y plane with a range (0,3000). vals is a 1d double array of values in the range (20-100). After initializing the RBFInterpolation I try to call interpolate(x,y) where x and y are in the range (0,3000) eg interpolate(153,331) and the result is NaN.
I noticed in your ScatterDemo code you swap the coordinates and you multiply it by a scaling factor:
rbf.interpolate(j_.12, i_12)
Do I need to swap my x and y coordinates when calling interpolate? What is the significance of the scaling factor?
The text was updated successfully, but these errors were encountered: