Find the partial minimums in a set of values

조회 수: 1 (최근 30일)
marco mendez
marco mendez 2019년 11월 6일
편집: marco mendez 2019년 11월 6일
Hi everyone! I have the graphics i show you in the image and i would like to know the distance betwen the two minimum point in the middle of the graph. I mean betwen around 30 and 60. How could i find this points? I have thought I could aproximate to a polynomial function and find the minimums...
untitled.jpg

채택된 답변

darova
darova 2019년 11월 6일
  • Use findpeaks(-data)
  • Choose peaks that lie in 23 < x < 27 and 58 < x < 62
  댓글 수: 3
Steven Lord
Steven Lord 2019년 11월 6일
I'd probably use islocalmin instead of findpeaks on the negative of the data.
marco mendez
marco mendez 2019년 11월 6일
편집: marco mendez 2019년 11월 6일
much better, thanks Steven! Although I solved it using -data...

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by