How can I split the signal in matlab
조회 수: 18 (최근 30일)
이전 댓글 표시
I have 25 signals. these signals exist as a double. that is, when I want to plot a signal I have, I write the plot (t1, y1) command. I am sharing the screenshot of this graph of my signal with you. My goal here is to divide the signal in two from the place I marked. The left side of the graph is noise, and the right side of the graph is noise + signal. Since I have 25 different signals, the noise width of each is different. The code that I want to write here is that these 25 signals can be automatically divided into two as noise and noise + signal.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/542076/image.jpeg)
댓글 수: 3
Walter Roberson
2021년 3월 8일
I don't see it. To me the ambient noise appears to be approximately +/- 0.05 .
채택된 답변
Image Analyst
2021년 3월 8일
How about
index = find(signal > 0.47, 1, 'first');
noisyLeftSide = signal(1:index);
goodRightSide = signal(index+1 : end);
댓글 수: 4
Walter Roberson
2021년 3월 9일
No, but we just might be able to estimate the +/- 0.05-ish noise that I propose is the true ambient noise. It is not clear to me that 0.47 is objectively justifiable.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!