I'm using a script to take these x and y values from a .txt file. At this point in the script the variables are assigned the fid is closed… When I code further, I'm trying to interpolate a user entered value which is called 'userx'.
Below, though, I am just trying to get it to interpolate at 100. I don't understand where my syntax error is.
>> interp1(x,y,100) Error using interp1 (line 130) Values must be of type double or single.