Align two plots based on amplitude
Mostrar comentarios más antiguos
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 comentarios
Image Analyst
el 14 de Oct. de 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
el 14 de Oct. de 2022
Image Analyst
el 15 de Oct. de 2022
Editada: Image Analyst
el 15 de Oct. de 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
el 15 de Oct. de 2022
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Multirate Signal Processing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


