Difference Plot in matlab

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).

 采纳的回答

Torsten
Torsten 2024-2-11
移动:Torsten 2024-2-11

0 个投票

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".

更多回答(0 个)

类别

标签

Community Treasure Hunt

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

Start Hunting!

Translated by