MATLAB: How to represent values in horizontal in bar chart
bar chartMATLAB
http://i44.tinypic.com/33vjga1.jpg…in the link mentioned above, i am getting all the months in a single direction.. i should get like january… den febrauary… den march….
You don't need to use for-loop to obtain number of days for each month. The following example generates number of days per month from Jan. to Dec. in 2017.
t = datetime(2017,1,1):calmonths(1):datetime(2018,1,1);
Best Answer