📄 tp2_dat.m
字号:
echo off% tp2_dat.m%% This script runs in conjunction with the fuzdemo3 and the model file% tp2dem_s.m% This script prepares fuzzy-sets, parameters of the fuzzy-controller and% initial conditions for the simulation.%% FSTB - Fuzzy Systems Toolbox for MATLAB% Copyright (c) 1993-1996 by Olaf Wolkenhauer% Control Systems Centre at UMIST% Manchester M60 1QD, UK%% 24-April-1994 clear allclear globalERROR = modsuset('y',12,7,-4,0); RATE = modsuset('y',6,7,-2,0); POWER = modsuset('n',120,7,-40,0); % Converting the (continous) trapecoidal representation to a discrete form:[E,ERROR]=con2dis(ERROR,200);[R,RATE]=con2dis(RATE,200);[P,POWER,MOMENTS,AREAS]=con2dis(POWER,200);global E ERROR R RATE MOMENTS AREAS% Preperation for the "lookup-example" : [error,rate,tp_look]=ctr_surf('tp_dem_c',0.1,[-12 12 -6 6],20);global error rate tp_look
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -