MATLAB Answers


plotting time series with data of different frequencies and varying time vector length

Asked by adnan
on 5 Feb 2013

Hi all This question or similar might have been asked before and I apologize for repeating. I have two data sets. First set contains 72 points for 72 hours i.e. say, airspeeds each hour for a total of three days. The second data set contains airspeeds every 15 minutes for a total of 48 hours for the two out of three days. I want to plot both data sets on the same axis. I have been playing around with timeseries all day but have had no luck. The main issue is the adjustment of the x-axis. Can someone please be of guidance in this issue? Thanks and please also ask for any clarification in my question. Thanks.


  1 Comment

Are you using the timeseries data type, or just vectors of data?


No products are associated with this question.

0 Answers

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!