The following code wont work because: I have a date1 variable array which is a double and the P_D variable seems to be a cell array. I need to set P_D to be a double variable, all numbers in the P_D variable are doubles.
Error using plot
Invalid data argument.
Error in thethird (line 54)
date1 = datenum(date,'yyyy-mm-dd HH:MM:SS');