tp_dat.m

来自「FISMAT accommodates different arithmetic」· M 代码 · 共 30 行

M
30
字号
echo off% tp_dat.m%% This script runs in conjunction with the fuzdemo3 and the model file% tr_dem_s.% 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-1994clear allclear globalglobal E ERROR R RATE MOMENTS AREASERROR = 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);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?