Difference Plot in matlab

4 vues (au cours des 30 derniers jours)
SGK
SGK le 11 Fév 2024
Déplacé(e) : Torsten le 11 Fév 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).

Réponse acceptée

Torsten
Torsten le 11 Fév 2024
Déplacé(e) : Torsten le 11 Fév 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".

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by