📄 ptos_d.m
字号:
echo off% ptos_d.m%% This script runs in conjunction with the model file ptos_s.m and the % controller file ptos_c.m and the script ptos_a.m% This script prepares the controller, sets an initial reference signal% height and defines the sampling time.%% FSTB - Fuzzy Systems Toolbox for MATLAB% Copyright (c) 1993-1996 by Olaf Wolkenhauer% Control Systems Centre at UMIST% Manchester M60 1QD, UK%% 17-May-1994 Ts=0.1ESET=[-10 -3 0 3 10] OSET=[-45 -20 0 20 45]REF=1 dec=input(' Changes in the controller characteristic ? y/n [n] : ','s');if dec=='y', disp('type return to continue..'); keyboardend;global Ts ESET OSET REFdec=input(' Plot of the controller characteristic function ? y/n [n] : ','s');if dec=='y', disp('Press any key after plot...') ctr_func('ptos_c',Ts,[min(ESET) max(ESET)]); title('characteristic function of the fuzzy controller'); xlabel('error e');ylabel('u');pauseend;clear dececho on
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -