필터 지우기
필터 지우기

plot two time-dependent graphs on top of each other

조회 수: 58 (최근 30일)
julius bruns
julius bruns 2023년 3월 31일
답변: Aditya Srikar 2023년 3월 31일
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에서 Annotations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by