plot two time-dependent graphs on top of each other

64 visualizaciones (últimos 30 días)
julius bruns
julius bruns el 31 de Mzo. de 2023
Respondida: Aditya Srikar el 31 de Mzo. de 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

Respuestas (1)

Aditya Srikar
Aditya Srikar el 31 de Mzo. de 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.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by