Plot data with time of packets acquisition timestamps

1 view (last 30 days)
I am trying to plot my data against time. I acquired my data by packets but each packets has 1000 samples. I have 8 packets of data, so in total I end up plotting 8000 samples but my time is wrong. though I am plotting 8000 samples I want my time (x-axis) to be 8 seconds.Every 1000 points of data, it should show 1s on the xaxis. how do i do that without getting an vector mismatch error.

Answers (0)


Community Treasure Hunt

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

Start Hunting!