function structure and explanation

2 views (last 30 days)
Tino
Tino on 18 Jun 2019
Edited: Adam Danz on 18 Jun 2019
Hello I am using the function Smoothdata ( x , 'gaussian'); I want to know the how this function is implemented. The formula/method and how matlab implements this computation. Please how do I get the information.
Thanks for your help in advance.
Tino

Accepted Answer

Adam Danz
Adam Danz on 18 Jun 2019
Edited: Adam Danz on 18 Jun 2019
Here's all the information available (link below). Start by reading the "description" section. Also see the "Algorithms" sectoin.
You can read about any function by searching for it in the documentation (use the search field) or by using
doc smoothdata
If the documentation does not provide enough detail, fortunately the code in smoothdata is available to view. Open smoothdata and search for "if method == "gaussian"" for the gaussian method. It uses the undocumented function smoothgauss() which is also available to view. You could open smoothgauss(), put a breakpoint at the first line, then run your code. Once the execution reaches the breakpoint you can step through the code to see what it's doing.

More Answers (0)

Categories

Find more on Programming Utilities in Help Center and File Exchange

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by