⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tr_dat.m

📁 FISMAT accommodates different arithmetic operators, fuzzification and defuzzification algorithm, imp
💻 M
字号:
echo on% Working...echo off% tr_dat.m%% This script runs in conjunction with the fuzdemo4 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%% 23-April-1994 clear allclear global% Specifying the libraries of fuzzy-sets for the controller variables:XPOS=[-inf 30 45 50 65; 0 40 50 60 90; 10 40 50 60 100; 35 50 55 70 inf];PHI=[-95  -5  45  80  95 115 175 ;-45  30  65  90 115 150 225;...-45  30  65  90 115 150 225;  5  65  85 100 135 185 275];THETA=[-45 -25 -10  -5   0   5  15;-30 -15  -5   0   5  15  30 ;...-30 -15  -5   0   5  15  30 ;-15  -5   0   5  10  25  45];% Converting the compact-form into discrete sets. X-resolution 0.1 m,% phi and theta 1 degree:[X,XPOS]=con2dis(XPOS,1000);[P,PHI]=con2dis(PHI,360);[T,THETA,MOMENTS,AREAS]=con2dis(THETA,60);global X XPOS P PHI MOMENTS AREAS% Specifying initial values for (x,y) and phi in the truck and loading% deck simulation:IXPOS=30; IYPOS=10; IPHI=220; global IXPOS IYPOS IPHI echo on

⌨️ 快捷键说明

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