How to remove the part of a signal less than xaxis =0 along with the peak
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Ashwini Amin
am 21 Jun. 2019
Kommentiert: Ashwini Amin
am 22 Jun. 2019
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 Kommentare
Akzeptierte Antwort
Vishnu Vardhan
am 21 Jun. 2019
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multirate Signal Processing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!