Why do I get the error "The input data has inconsistent size" when evaluating an interpolant?
Show older comments
I have created an interpolant "F", using the function "scatteredInterpolant". All of the input arguments "x", "y", and "v" have the same dimensions.
>> F = scatteredInterpolant(x, y, v);
When I try to evaluate the interpolant with a set of query points, I get an error:
>> vq = F(xq, yq)
Error using scatteredInterpolant/subsref
The input data has inconsistent size.
Accepted Answer
More Answers (0)
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!