Rho1Tra {FuzzyStatTra} | R Documentation |
This function calculates the 1-norm distance between the trapezoidal fuzzy numbers contained in two matrixes, which should be given in the desired format. For this, the function first checks if the input matrixes R
and S
are in the correct form (tested by checkingTra
).
Rho1Tra(R, S)
R |
matrix of dimension |
S |
matrix of dimension |
See examples
The function returns a matrix of dimension r x s
containing the 1-norm distances between the trapezoidal fuzzy numbers of the matrix R
and the trapezoidal fuzzy numbers of the matrix S
.
In case you find (almost surely existing) bugs or have recommendations for improving the functions comments are welcome to the above mentioned mail addresses.
Asun Lubiano <lubiano@uniovi.es>, Sara de la Rosa de Saa <rosasara@uniovi.es>
# Example 1:
F=SimulCASE2(4)
S=SimulCASE3(5)
Rho1Tra(F,S)
# Example 2:
F=matrix(c(1,1,0,2,3,4,5,6),nrow=2)
S=SimulCASE3(5)
Rho1Tra(F,S)