MATLAB: Determine the Y value from a given X from the generated figure xy Hi, May I know how to determine the Y value from a given X from the generated figure? As I do not have any y equation. attached is the matlab file. Thanks a lot! Best Answer If you have your two vectors x and yy0=interp1(x,y,x0) Related SolutionsMATLAB: X and Y Labelling Just use the exact same code as for the first figure: xlabel('Distance(mm)'); % remove xlabel1 = ylabel('Delta(0kg)'); % remove ylabel1 = figure_FontSize = 12; set(get(gca,'XLabel'),'FontSize',figure_FontSize,'Vertical','top'); set(get(gca,'YLabel'),'FontSize',figure_FontSize,'Vertical','middle'); MATLAB: I have two array x=[1 6 8 9],y=[3 6 9 14],then i plot (x,y) in matlab. i have no linear equation of x,y. i have only above array of x and y. if value of x is 4 then what is the value of y. x=[1 6 8 9]y=[3 6 9 14]x0=4y0=interp1(x,y,x0) Related QuestionDifferent font sizes for y labelsTrying to plot function in 3D and keep getting warning
Best Answer