I use the griddata function in matlab, but after the interpolation, the value of some points is less than 0. Is there any way to control the range of interpolation results?
That is to say, the results I want are all non-negative, but the results obtained after interpolation are somewhat less than 0.
Is there any way to set constraints?
Best Answer