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