function structure and explanation

조회 수: 4 (최근 30일)
Tino
Tino 2019년 6월 18일
댓글: Adam Danz 2023년 8월 7일
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

채택된 답변

Adam Danz
Adam Danz 2019년 6월 18일
편집: Adam Danz 2019년 6월 18일
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.
  댓글 수: 2
Julio Utreras
Julio Utreras 2023년 8월 1일
Is there a way to find the code for smoothgauss()? I can't find much info about it anywhere.
Adam Danz
Adam Danz 2023년 8월 7일
What is smoothgauss? Is this a 3rd party function?
If it's written in an m-file and the file is on your MATLAB path, execute open smoothgauss to see the code.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Live Scripts and Functions에 대해 자세히 알아보기

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by