Shift a curve in logarithmic scale
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mehrdad RAHIMI
am 3 Okt. 2022
Bearbeitet: Torsten
am 3 Okt. 2022
Hi,
I have two datasets, dataset 1 is the result of experiment (a peak) and the dataset 2 is the result of simulation (a peak). Normally, both datasets should be plotted in the same figure in logarithmic scale and then, to shift the dataset 2 towards dataset 1 and to find the best vertical translation.
The point is that the amount of shift in logarithmic scale is not a constant value for each point (in the contrary to linear scale) and it depends on the Y values of the data (bigger Y value, bigger shift).
I have tried to write a code to do it automatically but it didn't work and I don't know how to code it!
Tnanks in advance for any help and any idea.

0 Kommentare
Akzeptierte Antwort
J. Alex Lee
am 3 Okt. 2022
shifting in log scale is actually a multiplication, not an addition - is that what you need?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!