第一范文网 - 专业文章范例文档资料分享平台

自动控制原理Matlab程序作业(精)

来源:用户分享 时间:2025/8/8 10:22:23 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

set(handles.Xpoint,'string' ,num2str(X; set(handles.Ypoint,'string' ,num2str(Y; damp=sqrt(X(1,1^2/(X(1,1^2+Y(1,1^2; Wn=abs(X(1,1/damp; Tp=pi/(Wn*sqrt(1-damp^2;

overshoot=exp(-pi*damp/sqrt(1-damp^2; Ts=3/(damp*Wn; deviation=Wn^2;

set(handles.overshoot,'string' ,num2str(overshoot; set(handles.Ts,'string' ,Ts; set(handles.Tp,'string' ,Tp;

set(handles.Wn,'string' ,num2str(Wn; set(handles.damp,'string' ,num2str(damp; set(handles.deviation,'string' ,deviation;

function edit2_Callback(hObject, eventdata, handles % hObject handle to edit1 (see GCBO

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA

% Hints: get(hObject,'String' returns contents of edit1 as text

% str2double(get(hObject,'String' returns contents of edit1 as a double % --- Executes during object creation, after setting all properties. function edit2_CreateFcn(hObject, eventdata, handles

% hObject handle to edit1 (see GCBO

% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.

if ispc && isequal(get(hObject,'BackgroundColor' , get(0,'defaultUicontrolBackgroundColor'

set(hObject,'BackgroundColor' , 'white' ; end

% --- Executes on button press in pushbutton5.

function pushbutton5_Callback(hObject, eventdata, handles % hObject handle to pushbutton5 (see GCBO

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA

num = str2num(get(handles.edit1,'String' ; den = str2num(get(handles.edit2,'String' ; sys=tf(num,den

rltool(sys;%à?ó?1¤??μ÷???????÷2?êyê1???-1y?÷μ???μ? function edit4_Callback(hObject, eventdata, handles % hObject handle to edit4 (see GCBO

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA

% Hints: get(hObject,'String' returns contents of edit4 as textw'q % str2double(get(hObject,'String' returns contents of edit4 as a double

% --- Executes during object creation, after setting all properties. function edit4_CreateFcn(hObject, eventdata, handles

% hObject handle to edit4 (see GCBO

% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.

if ispc && isequal(get(hObject,'BackgroundColor' , get(0,'defaultUicontrolBackgroundColor'

set(hObject,'BackgroundColor' , 'white' ; end

% --- Executes on button press in pushbutton6.

function pushbutton6_Callback(hObject, eventdata, handles

% hObject handle to pushbutton6 (see GCBO

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA

% --- Executes on button press in pushbutton7.

function pushbutton7_Callback(hObject, eventdata, handles % hObject handle to pushbutton7 (see GCBO

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA

% --- Executes on button press in pushbutton8.

function pushbutton8_Callback(hObject, eventdata, handles % hObject handle to pushbutton8 (see GCBO

% eventdata reserved - to be defined in a future version of MATLAB

自动控制原理 Matlab 程序设计报告 % handles structure with handles and user data (see GUIDATA % --- Executes on button press in pushbutton9. function pushbutton9_Callback(hObject, eventdata, handles % hObject % eventdata % handles handle to pushbutton9 (see GCBO reserved - to be defined in a future version of MATLAB structure with handles and user data (see GUIDATA num = str2num(get(handles.edit1,'String'; den = str2num(get(handles.edit2,'String'; A = str2num(get(handles.edit5,'String'*(-1; num = [1 A]; G = tf(num,den; rlocus(G hold on; sgrid(0.707,[] hold off; % --- Executes on button press in pushbutton10. function pushbutton10_Callback(hObject, eventdata, handles % hObject % eventdata % handles handle to pushbutton10 (see GCBO reserved - to be defined in a future version of MATLAB structure with handles and user data (see GUIDATA num =

搜索更多关于: 自动控制原理Matlab程序作业(精) 的文档
自动控制原理Matlab程序作业(精).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c1ch39640cn6msol1o4w75dq8n1si8z00u80_4.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top