Combining batches graphs consecutively

3 views (last 30 days)
Tino
Tino on 2 Jul 2019
Answered: Divya Yerraguntla on 17 Jul 2019
Hi
I am trying to analyse data of 2000 in batches of 500
and at the end I want to plot the graph of all 500 combined together that the x axis be 2000
How do I do this
I will be grateful for your assitance
Thanks in advance
Tino

Answers (1)

Divya Yerraguntla
Divya Yerraguntla on 17 Jul 2019
Hi,
It is possible to concatenate 4 batches data say Y1, Y2, Y3, Y4 into a single data set Y using the code:
Y = [Y1 Y2 Y3 Y4];
Now the data can be plotted using:
plot(X, Y);
Hope it helps.

Categories

Find more on Programming in Help Center and File Exchange

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!