# matrix with proper values of triangular fuzzy numbers
matrixOK <- matrix(c(1,2,3,7,10,12,8,10,11),ncol=3,byrow = TRUE)
# matrix with the wrong third value of fuzzy triangular number (its core is greater than
# the left end of its support)
matrixFalse <- matrix(c(1,2,3,7,10,12,8,20,11),ncol=3,byrow = TRUE)
# remove the third value and restore the previous one
RemoveNotFuzzy(matrixOK,matrixFalse,trapezoidal = FALSE)
Run the code above in your browser using DataLab