# Fuzzy.Difference: Calculates the difference between two fuzzy numbers In FuzzySTs: Fuzzy Statistical Tools

## Description

Calculates the difference between two fuzzy numbers

## Usage

 `1` ```Fuzzy.Difference(X, Y, alphacuts = FALSE, breakpoints = 100) ```

## Arguments

 `X` a fuzzy number of any type. `Y` a fuzzy number of any type. `alphacuts` fixed by default to "FALSE". No alpha-cuts are printed in this case. `breakpoints` a positive arbitrary integer representing the number of breaks chosen to build the numerical alpha-cuts. It is fixed to 100 by default.

## Value

If the parameter alphacuts="TRUE", the function returns a matrix composed by 2 vectors representing the left and right alpha-cuts. For this output, is.alphacuts = TRUE. If the parameter alphacuts="FALSE", the function returns a trapezoidal fuzzy number given by the quadruple (p,q,r,s), such that p q r s.

## Examples

 ```1 2 3``` ```X <- TrapezoidalFuzzyNumber(5,6,7,8) Y <- TrapezoidalFuzzyNumber(1,2,3,4) Fuzzy.Difference(X,Y) ```

FuzzySTs documentation built on Nov. 23, 2020, 5:11 p.m.