plot two time-dependent graphs on top of each other
64 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Aditya Srikar
on 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.
0 Comments
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!