Why do I see different results when passing dates from Excel into MATLAB?
Show older comments
Why do I get different results when passing dates from Excel into MATLAB?
For example, if the date: 10/10/1998 is entered in Excel and then put into MATLAB, the results differ by 693960. Here is a short example. Import the cell containing the date 10/10/1998 into MATLAB with the variable name foo.
+ datenum('10/10/1998') - foo
ans =
693960
Accepted Answer
More Answers (0)
Categories
Find more on Spreadsheets in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!