What does 1V mean?

4 次查看(过去 30 天)
Job
Job 2023-9-25
Goodmorning,
I have a simple question, in the picture below, what does 1V mean? It is used for the findpeaksfunction as a parameter.
Thanks in advance!
  3 个评论
Mario Malic
Mario Malic 2023-9-25
I believe select is a voltage signal (amplitude), so, it just looks for maxima's whose amplitude is at least 1 amplitude unit higher than neighbouring samples.
John D'Errico
John D'Errico 2023-9-25
As always, a single line of code has little real meaning out of context. I think both of the previous comments are accurate though.
The call to findpeaks will detect local peaks in the signal that are at least 1 unit of measurement (possibly a voltage) above the neighboring points. Note that the threshold is set as 1. Is that Volts? We cannot know, only guess.

请先登录,再进行评论。

回答(1 个)

the cyclist
the cyclist 2023-9-25
编辑:the cyclist 2023-9-25
I see that that line of code is from the documentation for findpeaks. It presumably does mean volts (from context), but you can just think of it as one unit from either side (for whatever units are being plotted).

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by