F, the function calculates the \(\varphi\)-wabl/ldev/rdev median of these numbers, characterized by means of nl equidistant \(\alpha\)-levels (by default nl=101), including always the 0 and 1 levels, with their infimum and supremum values. The function first checks if the input matrix F is given in the correct form (tested by checkingTra).Medianwabl(F, nl = 101, a = 1, b = 1)n x 4 containing n trapezoidal fuzzy numbers characterized by their four values inf0,inf1,sup1,sup0. The function implicitly checks if the matrix is in the correct form (tested by checkingTra).
nl=101. It indicates the number of desired \(\alpha\)-levels for characterizing the\(\varphi\)-wabl/ldev/rdev median.
a=1. It is the first parameter of a beta distribution which corresponds to a weighting measure on [0,1].
b=1. It is the second parameter of a beta distribution which corresponds to a weighting measure on [0,1].
nl x 3 x 1 where nl is the number of considered \(\alpha\)-levels and 3 the number of columns of the array: the first column will be the \(\alpha\)-levels, the second one their infimum values and the third one their supremum values.checkingTra, DwablphiTra, Dwablphi, Wablphi, Median1norm# Example 1:
F=SimulCASE1(10)
Medianwabl(F,3)
# Example 2:
F=matrix(c(1,0,2,3),nrow=1)
Medianwabl(F)
Run the code above in your browser using DataLab