필터 지우기
필터 지우기

How to remove the part of a signal less than xaxis =0 along with the peak

조회 수: 1 (최근 30일)
Hello All,
Could you please help me with the MATLAB command to remove(trim) part of the signal highlighted in red colour in the image
MATLABquery.JPG

채택된 답변

Vishnu Vardhan
Vishnu Vardhan 2019년 6월 21일
Hi Ashwini
you can use find function available in MATLAB
idx = find(x>=0);
plot(x(idx) ,y(idx)) %where x and y are the axis
Hope that helps!
  댓글 수: 4
Ashwini Amin
Ashwini Amin 2019년 6월 22일
Hello Vishnu ,
I have tried
idx = find(xaxisdataC>=0.1);
plot(xaxisdataC(idx) ,yaxisdataC(idx))
While doing so it is returning idx =[] (null )in my workspace.
Else could you please suggest a way to remove the part of signal from 0 upto the peak(present around value of 1000) in below image
MATLABquery2.JPG
Ashwini Amin
Ashwini Amin 2019년 6월 22일
Can i use any kind of filter or windowing techniques. If yes please help me with the code.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by