Given a list XX of polygonal fuzzy numbers the functions first checks (1) if each element of the lists is in the correct form (tested by checking) and (2) if the alpha-levels of all elements coincide. If all conditions are fulfilled the function calculates the (levelwise) median (which, by definition, is a fuzzy number too).
Usage
Fmedian(XX, pic = 1)
Arguments
XX
...list of polygonal fuzzy numbers with the same alpha levels (the functions implicitly checks the conditions)
pic
...numeric, if pic==1 the sample, its mean and its median are plotted.
Value
Given correct input XX the function returns a the median of the sample.