Hi I'm triyng to learn the griddata command but I always come face to facve with NaN values in the griddata function. Can anyone explain why please?
clc;clear;x1= rand(752,1);x2= rand(752,1);y1= rand(752,1);[xx,yy]=meshgrid(x1,x2);z= griddata(x1,x2,y1,xx,yy);contourf(xx,yy,z);
Best Answer