MATLAB: Would I be getting “NaN” from a matrix I entered

griddata

Hey all,
I seem to be getting a "NaN" from a matrix I entered as a variable while using the function griddata. Is there any obvious reason for this? Possibly difficulty interpolating a value?

Best Answer

We need to see your code. My guess is that you’re asking it to extrapolate.