badash_123
Junior Member level 2
Hi
I have a set of traces. Each trace has a certain maximum peak but I find that these traces are shifted a little (based on the location of peak). I want to remove this shift and make the traces have their peaks at the same x axis location. I want to do this in Matlab.
I have the max peak value found out from each trace. Now for all the traces,
1) I want to find out the corresponding x axis value,
2) Compare it with a reference trace and
3) Shift all the traces to align them.
Are there any functions to do this in matlab? Can somebody please help me out? Thank you.
I have a set of traces. Each trace has a certain maximum peak but I find that these traces are shifted a little (based on the location of peak). I want to remove this shift and make the traces have their peaks at the same x axis location. I want to do this in Matlab.
I have the max peak value found out from each trace. Now for all the traces,
1) I want to find out the corresponding x axis value,
2) Compare it with a reference trace and
3) Shift all the traces to align them.
Are there any functions to do this in matlab? Can somebody please help me out? Thank you.