How to plot 2 function with different x-axis to 1 figure

1 view (last 30 days)
Hello everybody,
I am struggling with plotting the graph. I have two function to display, where i.e.:
x1 = (1:10000) with vector y1 of length 10000, describing the signal x2 = (1:100) with vector y2 of length 100, describing the total energy of segments of the signal (one segment = 100 samples of signal)
Is it possible to plot these two functions together so I could see the process of signal and its energy?
Thank you, I would be greatful for every advice.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!