Effacer les filtres
Effacer les filtres

How can I return numbers into days of a specific month

1 vue (au cours des 30 derniers jours)
MAHMOUD ALZIOUD
MAHMOUD ALZIOUD le 22 Sep 2017
Commenté : MAHMOUD ALZIOUD le 25 Sep 2017
Hello everyone, I have a matrix with size of 2688*2, each cell contains a number that represents a day in the month, for example from 1 to 31, but each number is repeated like 96 times or sometimes less or more, the matrix looks like something close to 1 1 1 1 1 1 1 (96 times) then 2 2 2 2 2 (90 times) and so on until 31 or 30 or 28 depending on the month, this month is January of 2007, how can i please return those numbers into day names, for example the first day which is 1 in the matrix was Thursday in January 2007 .
Thank you in advance very much guys
  8 commentaires
Stalin Samuel
Stalin Samuel le 25 Sep 2017
For better understanding kindly attach the data or specify the data format clearly
MAHMOUD ALZIOUD
MAHMOUD ALZIOUD le 25 Sep 2017
yes sure, this is the data, i tried the above codes but it doesnt give the accurate date, for example this data is for january 2007 and monday has the dates (1, 8, 15, 22 and 29), but in the code i used from above, monday has the dates (3, 10, 17 and 31 ) whih is not right, how can i please fix this

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Dates and Time dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by