Align two plots based on amplitude
이전 댓글 표시
I have two plots.
Plot A and Plot B
Both have there own data sets, which need to be a little calibrated but aligning the ampliture, so all average peaks are very close.
This is my plot as an example

As you can see the bottom plot data neds to be shifted up a little. Is there a tool which can help get a good alignment in y axis?
댓글 수: 4
Image Analyst
2022년 10월 14일
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
Dharmesh Joshi
2022년 10월 14일
Image Analyst
2022년 10월 15일
편집: Image Analyst
2022년 10월 15일
Well the obvious solution would have been to just take a small subset of the data. Nonetheless, see what @Star Strider has done below with synthesized data and see if it's what you want. If not, then attach less than 5 MB subset of your data. It's what I would have done, which is to basically just assume one curve is just a linearly scaled and shifted version of the other curve.
Dharmesh Joshi
2022년 10월 15일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


