MATLAB: What is the inside program / function of rmoutlier? how rmoutlier inbuilt function will work? why cant we write a program without using rmoutlier function
outlier
what is the inside program / function of rmoutlier? how rmoutlier inbuilt function will work? why cant we write a program without using rmoutlier function?
can you help me
Best Answer
We don't distribute the source code for the undocumented helper function that rmoutliers uses. [Note the extra s in the name; the function is rmoutliers nor rmoutlier.]
For your second question, if you're asking how rmoutliers determines if something is or is not an outlier, see the description of the method input argument on the documentation page. The second of the Topics pages listed in the See Also section on that page may also be of interest to you.
For your third question, it is possible to write a program without using rmoutliers. The function was only introduced in release R2018b and I've been writing programs in MATLAB since 2000. It is even possible to write a program to remove outliers without using rmoutliers, if you're willing to code the outlier detection yourself (or use isoutlier.)
You can configurefilloutliers function to work as hampel function, but hampel functionremoves outlier usinghampelidentifier, you can have a look at its input argument it does not provide any othermethod for detecting outlier or replacing outlier. Whereas filloutliersfunction supports different methods for detection and replacement of outliers.
If you search for a function in the documentation, either the documentation included in your installation or the online documentation available through the Support section of the website, the documentation will tell you which product contains that function.
Best Answer