📄 dspl.m
字号:
function up=dspl(x)
%=========================================================================
% dspl
%=========================================================================
% y=dspl(x)
%
% Plausibility function
%
% Input:
% x: Dempster-Shafer structure.
%
% Output:
% y: Plottable plausibility function [x,Bel(-inf,x)]
%
% Example:
%
% lambda=dsstruct([2,3,1])
% x=dsodf('expinv',1000,lambda);
% y=dspl(x)
% plot(y(:,1),y(:,2))
%=========================================================================
% Reference : Ferson, S., V. Kreinovich, et al. (2003). Constructing
% Probability Boxes and Dempster-Shafer Structures. Albuquerque, Sandia
% National Laboratories.
% Link : http://citeseer.ist.psu.edu/660030.html
% Copyright (c) Philipp Limbourg, University of Duisburg-Essen
% www.uni-duisburg-essen.de/informationslogistik/
%=========================================================================
up(:,1)=x.ds(:,1);
up(:,2)=x.ds(:,3);
up=sortrows(up,1);
for i=2:size(x.ds,1)
up(i,2)=up(i-1,2)+up(i,2);
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -