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

 Respuesta aceptada

Torsten
Torsten el 11 de Feb. de 2024
Movida: Torsten el 11 de Feb. de 2024

0 votos

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

Más respuestas (0)

Etiquetas

Preguntada:

SGK
el 11 de Feb. de 2024

Movida:

el 11 de Feb. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by