I've tried to do it like this:
I've found this https://www.quora.com/How-do-I-draw-a-parabola-in-MATLAB and tried to use it like that:
a=str2double(get(handles.InputA,'string'));
b=str2double(get(handles.InputB,'string'));
c=str2double(get(handles.InputC,'string'));
xLine=[(-b)/2*a-5:0.01:(-b)/2*a+5];
yToPlot= a*x.^2 + b.x+c;
plot(xLine,yToPlot);
but I keep getting errors...any help would be appreciated