plot two time-dependent graphs on top of each other

65 次查看(过去 30 天)
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

回答(1 个)

Aditya Srikar
Aditya Srikar 2023-3-31
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.

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by