What is the maths behind findpeaks function on matlab?

9 ビュー (過去 30 日間)
Matlaber
Matlaber 2020 年 5 月 9 日
コメント済み: Hsein Ping Kew 2020 年 5 月 11 日
How can I use maths to explain this matlab function?
findpeaks function

回答 (2 件)

Ameer Hamza
Ameer Hamza 2020 年 5 月 9 日
Most of the MATLAB algorithms are proprietary, which means their details and code is not publicly available. You cannot get any more information other than specified on the documentation page. If a publicly available algorithm is used, then it is mentioned in the "Algorithm" and "References" section of the documentation. As you can see, the documentation of findpeaks has neither of these sections, so there is no way to get the details of the algorithm.
  3 件のコメント
Ameer Hamza
Ameer Hamza 2020 年 5 月 10 日
Yes, the code is indeed available in this case, but it didn't mention the name of any known algorithm. If the code is viewable, then you can use a breakpoint to run it line by line to understand its working.
Matlaber
Matlaber 2020 年 5 月 10 日
Thanks, I did read the code line by line, but is very hard to understand. That is why I am posting this question.

サインインしてコメントする。


Honglei Chen
Honglei Chen 2020 年 5 月 11 日
There is no specific name for the algorithm. Essentially it looks for points that is larger than the two adjacent points. Is there anything specific you want to know?
HTH
  4 件のコメント
Ameer Hamza
Ameer Hamza 2020 年 5 月 11 日
Hsein, posting the code of MATLAB function on an online forum is not permitted. Mathworks holds the copyrights for the code. I have removed the code from your comment.
Hsein Ping Kew
Hsein Ping Kew 2020 年 5 月 11 日
Thanks for both reply and sorry for late reply.
How I can explain this in longer for writing in a thesis?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSpectral Estimation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by