Why is the code of movmedian not available

1 visualizzazione (ultimi 30 giorni)
Tiago Dias
Tiago Dias il 23 Apr 2018
Modificato: Guillaume il 23 Apr 2018
Hello, Why is that the code of movmedian not available, and the code of median is?
Thanks

Risposte (1)

Guillaume
Guillaume il 23 Apr 2018
Modificato: Guillaume il 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.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by