필터 지우기
필터 지우기

Finding a specific value after analysing the trend of different plots

조회 수: 2 (최근 30일)
Any suggestion how to automatize the extraction of a specific value from the X ordinates (Frequency) after analysing the trend of specific curve plots. For example, a frequency of 0.3Hz should be chosen as a representative value from the three curves because the noise does not influence on the energy and the variation has a specific trend after this value as it is shown.

답변 (1개)

KSSV
KSSV 2021년 10월 11일
편집: KSSV 2021년 10월 11일
Read about interp1. You can use this to extract the values you want.
Let (x,y) be your data and you want yi for xi:
yi = interp1(x,y,xi) ;
  댓글 수: 1
Jorge Luis Paredes Estacio
Jorge Luis Paredes Estacio 2021년 10월 11일
Thanks for the answer. But, in this case I want to generate a script to detect automatically the value of the X ordinates (one frequency value) and this should be done when the variation of the three curves is analysed. As you can see in this example plot from one signal, the noise still affects the energy variation on the three curves in the range between 0.0 and 0.3Hz. Then, a starting point value of 0.3Hz should be selected because the noise stopped affecting the normal trend of the three curves simultaneously. This algorithm should be capable to detect these changes on the curves when analysing different signals and take this starting value as an input parameter to start the other calculations. Thank you for your attention.

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

카테고리

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

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by