Prev: PSO for image enhancement
Next: Image
From: Frederick Gonzales on 12 Mar 2010 23:07 I need a right code to show the nyquist diagram in the GUI given that the numerator and denominator of a transfer function is given The code I made % --- Executes on button press in pushbutton11. function pushbutton11_Callback(hObject, eventdata, handles) % hObject handle to pushbutton11 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) num=get(handles.edit1,'string'); den=get(handles.edit2,'string'); num=str2num(num); den=str2num(den); w=0:1:10000; [numCL,denCL]=cloop(num,den); sys=tf(numCL,denCL); axes(handles.axes1) nyquist(sys) But when I use the nyquist push button the axes began to have error no display of graph and the program began to stand still. Please help me with this code Thank you for your time
|
Pages: 1 Prev: PSO for image enhancement Next: Image |