Uploading Exact data from Excel

I have an excel file that I already modified the data in it and I did some calculation to convert seconds into hours and minutes. When I upload the file to matlab the calculations vanish and I see different numbers that is not from the original excel file.

2 Comments

How did you upload?
[~,~,Edited]= xlsread( 'CPhase1.xlsx','Edited','A1:AU10');

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 11 Aug 2020
readtable().
You are probably seeing excel date numbers, which are relative to Jan 1, 1900

2 Comments

not working. I tried to import it from import button still it shows different numbers although I changed the column to dateand time.

Sign in to comment.

Tags

Asked:

on 11 Aug 2020

Commented:

on 11 Aug 2020

Community Treasure Hunt

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

Start Hunting!