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
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!