TransfTra: Transformation of a matrix of trapezoidal fuzzy numbers into...

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

This function transforms a matrix of dimension n x 4 containing n trapezoidal fuzzy numbers characterized by their four values inf0,inf1,sup1,sup0 into an array of dimension nl x 3 x n containing these n fuzzy numbers characterized by means of nl equidistant α-levels each (by default nl=101). The function first checks if the input matrix F is given in the correct form (tested by checkingTra). In case yes, the function returns an array given in the format explained in the function checking.

Usage

1
TransfTra(F, nl = 101)

Arguments

F

matrix of dimension 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

positive integer, by default nl=101. It indicates the number of desired α-levels for characterizing the trapezoidal fuzzy numbers.

Details

See examples

Value

The function returns an array of dimension nl x 3 x n containing the n trapezoidal fuzzy numbers characterized by means of nl α-levels. The first column of the array are the α-levels, the second one their infimum values and the third one their supremum values. The correct format of the array is explained in the function checking.

Note

In case you find (almost surely existing) bugs or have recommendations for improving the functions comments are welcome to the above mentioned mail addresses.

Author(s)

Asun Lubiano <lubiano@uniovi.es>, Sara de la Rosa de Saa <rosasara@uniovi.es>

See Also

checkingTra, checking

Examples

1
2
3
4
5
6
7
# Example 1:
F=SimulCASE3(10)
TransfTra(F,200)

# Example 2:
F=matrix(c(1,1,0,2,3,4,5,6),nrow=2)
TransfTra(F)

FuzzyStatTra documentation built on May 2, 2019, 10:59 a.m.