Effacer les filtres
Effacer les filtres

plot two time-dependent graphs on top of each other

58 vues (au cours des 30 derniers jours)
julius bruns
julius bruns le 31 Mar 2023
Halo everyone, I've been working with Matlab for about 3 weeks and am currently facing a problem. I have two signals, both come from one measurement, are time-dependent and output a momentary value of the two measured variables. Now I want to plot the two signals on top of each other. So no longer over time but signal 2 as a function of signal 1. It is important to plot the instantaneous value of the 2 signal over the integral of the first signal. I have already tried to create an array within a for loop, which contains the value of the integral at each measured time. Unfortunately, the measurement has almost 12 million measuring points, which is why the computational effort exceeds the project. is there another method that can fall back on here? Thank you in advance and a nice week!
greetings
julius

Réponses (1)

Aditya Srikar
Aditya Srikar le 31 Mar 2023
Hi Julius,
Yes, you can combine multiple plots on same axis and display graphs on top of each other.
Refer here for documentation
Hope it helps.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by