problem with Read excel file
Ältere Kommentare anzeigen
I have an excel file like below.
when I read it using
fid = xlsread('P645.cwu.igs14.csv');
the first column(Date) didnt read and it just give

what is the problem?
Antworten (2)
Marcel Kreuzberg
am 20 Okt. 2022
0 Stimmen
xlsread read numeric values by default check out readtable
regards
Marcel
2 Kommentare
tara es
am 20 Okt. 2022
Marcel Kreuzberg
am 21 Okt. 2022
after reading the file with readtable (and the 'NumHeaderLines',11 option) you should get an table. the problem is now, that the tirst column 'Date' is not numeric. to get an matrix you have to convert the Date to numeric value first.
VBBV
am 21 Okt. 2022
0 Stimmen
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!