Learn R Programming

FuzzySTs (version 0.3)

Fuzzy.Square: Calculates numerically the square of a fuzzy number

Description

Calculates numerically the square of a fuzzy number

Usage

Fuzzy.Square(F1L, breakpoints = 100, plot = FALSE)

Value

A matrix composed by 2 vectors representing the numerical left and right alpha-cuts. For this output, is.alphacuts = TRUE.

Arguments

F1L

a fuzzy number.

breakpoints

a positive arbitrary integer representing the number of breaks chosen to build the numerical alpha-cuts. It is fixed to 100 by default.

plot

fixed by default to "FALSE". plot="TRUE" if a plot of the fuzzy number is required.

Examples

Run this code
 X <- TrapezoidalFuzzyNumber(1,2,3,4)
Fuzzy.Square(X, plot=TRUE)

Run the code above in your browser using DataLab