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

Dyuman Joshi
Dyuman Joshi 2023년 9월 25일
Probably the unit of whatever the input is, most probable guess being Voltage.
I don't see how your question is related to MATLAB.
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일

0 개 추천

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

질문:

Job
2023년 9월 25일

편집:

2023년 9월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by