Stretches the fuzzy values in each row of the matrix X such the one stays one, zeros stays zero, x0 stays x0, values between zero and x0 decreased, and values between x0 and one increased.
If a vector was given for x0 then it should have elements with the same number of rows in X. If a single value of x0 was given then it is used for all of the rows of X.
The default value of x0 is the mean of the non-zero elements of the corresponding row, we recommend using this value because it preserve the criterion of (sum of fuzzy values for a single row is unity) to a good level.
fuzzystretch(X, x0 = -1)
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.