Hi i want to arrange the data like this anybody help me

1 2 3 . . . 31 1 2 3 4 . . . . 28 1 2 3 . . . 31 upto
dec 1 2 3 . . . 31 then
next year
jan 1 2 3 . . . 31 1 2 3 4 . . . . 29 1 2 3 . . . 31 . . . . . . . . . dec 1 2 3 . . . . 31 then next year
jan 1 2 3 . . . . 31 1 2 3 . . . . 28 1 2 . . 31 . . . . . . dec 1 2 3 . . . 31 then next year like this

Answers (1)

You need to be more clear about your question.
Any ways, x = calendar(year, month) ; might solve your problem. Go through calendar function.
Regards
Sreenivas

This question is closed.

Asked:

on 12 Oct 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!