Hello all, this is my code
xyb= a two dimensional matrix storing x,y coordinates for some pointsY= meshgrid outputfor i=1:30 dist=(xyb(2i,1)-xyb((2i-1),1))*(xyb(2i,2)-Y(10,1))/(xyb(2i,1)-xyb( (2i-1),1) ) end
But I am getting this error… can anyone please help
Best Answer