Hi, first off all i want to excuse me if a post wrong. I'm new on mathworks and i've got a big problem.I want to make a GUI in matlab with axes and i don't know how to put on graphic the values of the maximum and minimum peaks. A bit of program look like this:
S=0.275
t=0:0.1:6;
n=10/64;
omega=(2*pi*n)
d=S*(1-cos(omega*t))/2
plot(handles.axes1,omega*t,d)
What i want is to show me on the axes the maximum and minimum values for "d" whatever values i've got to put on S,t,omega etc. Hope you can help me. Thx alot and excuse me for english issues.