meanfreq Command in Matlab
Mostrar comentarios más antiguos
What is the code behind the meanfreq command. I understand how to calculate the meanfrequency; however, it is unclear to me how the graph with the meanfreq command is created.
5 comentarios
jen Magnes
el 19 de Mayo de 2018
Rik
el 19 de Mayo de 2018
My warning below still applies. Additionally, if you edit internal functions, your code becomes unshareable because the behavior is different from the original that others will have.
jen Magnes
el 19 de Mayo de 2018
Editada: jen Magnes
el 19 de Mayo de 2018
Rik
el 19 de Mayo de 2018
I thought you said you understood the method? Anyway, the actual implementation might be different for each release as the Mathworks team optimizes their functions. It is not my area of expertise, and I don't think this forum would be suited for that question anyway.
Also, could you please mark my answer as accepted answer?
jen Magnes
el 3 de Jun. de 2018
Respuestas (4)
Rik
el 19 de Mayo de 2018
With some functions, you can take a look at the underlying code with the edit command. You're in luck: meanfreq is such a function. This will help you open the function:
edit meanfreq
WARNING: do NOT edit any Mathworks function and don't replace the files. If you want something different from a provided function, save the edited code under a different name. Not doing so might lead to crashes and other unexpected behavior. Note that copying code under some circumstances might not be legal, as I would expect these functions to be copyrighted.
jen Magnes
el 19 de Mayo de 2018
0 votos
jen Magnes
el 20 de Mayo de 2018
0 votos
jen Magnes
el 20 de Mayo de 2018
0 votos
Categorías
Más información sobre Bartlett en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!