I imported dates from an Excel file called original as below:
I have a for-lop with a for loop variable j such that:
My question: this for loop stores serial number of the date, and I want to conver this back to the dates. I tried datestr(datedouble(j+1,1)), but it says the dimension doesn't matach as it is some sort of 1x10 on the right hand side and left hand side is 1x1.
How can I resolve this?