ptos_d.m
来自「FISMAT accommodates different arithmetic」· M 代码 · 共 35 行
M
35 行
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 + =
减小字号Ctrl + -
显示快捷键?