Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Matlab-GUIDE(pop-up menu

Status
Not open for further replies.

Schahan

Electrical
Apr 27, 2006
4
Hello.

function Sinus_pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to Sinus_pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)

x=-5:0.02:5;
y=A*sin(2*pi*x*f);
plot(x,y);

how can i get the Value for A and f from a pop-up Menu.

thanks Shahan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor