Why is the code of movmedian not available

3 views (last 30 days)
Tiago Dias
Tiago Dias on 23 Apr 2018
Edited: Guillaume on 23 Apr 2018
Hello, Why is that the code of movmedian not available, and the code of median is?
Thanks

Answers (1)

Guillaume
Guillaume on 23 Apr 2018
Edited: Guillaume on 23 Apr 2018
No, there is no way to see the code of movmedian. Most likely, it was never implemented as an m file anway, just as C code (or Fortran or whatever language Mathworks used to develop it).
It is mathworks choice as to what functions you can see the code of. Some are implemented as plain m files that anybody (with a matlab license) can read, some are implemented as p files, just so you can't read the code, others are built-in, for speed reason.
If you want to see some moving mean code, there is most likely an implementation available on the file exchange.

Categories

Find more on Fortran with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!