FuzzyStatTra (version 1.0)

TransfTra:

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 \(\alpha\)-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

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 \(\alpha\)-levels for characterizing the trapezoidal fuzzy numbers.

Value

The function returns an array of dimension nl x 3 x n containing the n trapezoidal fuzzy numbers characterized by means of nl \(\alpha\)-levels. The first column of the array are the \(\alpha\)-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.

Details

See examples

See Also

checkingTra, checking

Examples

Run this code
# 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)

Run the code above in your browser using DataLab