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

📄 integral.m

📁 a collection of M-files to study concepts in the following areas of Fuzzy-Set-Theory: Fuzzy or Multi
💻 M
字号:
function [I]=integral(A,u)
%INTEGRAL: This function returns the integral of matrix of fuzzy value B over 
%	   universe V. The integral I is a vector the same number on membership
%	   functions in B (the same number of row).
%
%				    [I]=INTEGRAL(B,V)
%
%						See also KOSKO, and CENTRE.

% FISMAT: Fuzzy Inference Systems toolbox for MATLAB
% (c) A. Lotfi, University of Queensland (Email: lotfia@s1.elec.uq.oz.au)
% 13-10-93
% The program has been tested on MATLAB version 4.1, Sun workstation.

diffu=diff(u);
	[mA,nA]=size(A);
		augA=A(:,1:nA-1);
			matdiffu=ones(mA,1) * diffu;
				I=sum((augA .*matdiffu)')';

⌨️ 快捷键说明

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