Arrange time series data into year/month/day

1 view (last 30 days)
Hello,
I have a matrix in the form of time series data arranged as:
Year Month Day 1991 Jan feb march april...dec 1...31 1992 . . . . . . 2000
I would like to transpose the data so that it looks like:
1991 Day jan 1-31 . . . . . . Dec 1-31
2000 etc
I appreciate your response.
Elvis.
  2 Comments
ASONG ZILEFAC
ASONG ZILEFAC on 10 Oct 2012
Hello Azzi,
Assume that Jan is from 1 to 31, Feb from 1 to 28 or 29 ....Dec 1 to 31 days. The data is currently in the format: 1991 1 to 31 for Jan, 1 to 28 for Feb etc. 1992 1 to 31 for Jan, 1 to 28 for Feb etc. Some years might be leap years as well.
I want to transpose the data so that months are aligned under each year ,and days in front of each month:
1991 Jan 1 to 31 Feb 1 to 28/29 . . . Dec 1992 Jan ... Feb ... . . . Dec ...
ETC.

Sign in to comment.

Answers (0)

Categories

Find more on Creating and Concatenating Matrices 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!