Align two plots based on amplitude
Mostra commenti meno recenti
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 Commenti
Image Analyst
il 14 Ott 2022
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
il 14 Ott 2022
Image Analyst
il 15 Ott 2022
Modificato: Image Analyst
il 15 Ott 2022
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
il 15 Ott 2022
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Multirate Signal Processing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


