Difference Plot in matlab

6 Ansichten (letzte 30 Tage)
SGK
SGK am 11 Feb. 2024
Verschoben: Torsten am 11 Feb. 2024
Hello
I have a set of values of time signal (400x1) and out.values.A (400x1)
Another set of simulated values of time signal (1000x1) and out.values.B (1000x1)
Is it possible to plot the difference plot between A and B (ie. Time signal in X axis and difference between A and B in Y axis).

Akzeptierte Antwort

Torsten
Torsten am 11 Feb. 2024
Verschoben: Torsten am 11 Feb. 2024
You must either interpolate the output values of the first signal to the times of the second signal or the output values of the second signal to the times of the first signal. In both cases use "interp1".

Weitere Antworten (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by