function y = getValueFromTableAutomatic(yName, xName, x) tableT9 = readtable('T9.csv') ; xValues = tableT9.(xName) ; yValues = tableT9.(yName) ; y = interp1(xValues, yValues, x) ; end