Filter löschen
Filter löschen

Just read one column

1 Ansicht (letzte 30 Tage)
Tsalsabilla Winny Junika
Tsalsabilla Winny Junika am 14 Mai 2019
Kommentiert: Star Strider am 14 Mai 2019
Helo, i want to ask about read csv in matlab.
I use the code :
[a,b,c] = xlsread('104.csv');
in that csv has 15 columns with 30000 rows
.
But why matlab just running only first column like this ?
Is that something wrong with my code ? its just simply code but why that codes shows only 1 columns?
  1 Kommentar
Star Strider
Star Strider am 14 Mai 2019
My guess is that everything in your ‘104.csv’ file are saved as characters (or strings), rather than as numeric data. That is likely the reason there is nothing in that ‘a’ output from xlsread, while the second (text) and third (raw) outputs have everything.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu EEG/MEG/ECoG finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by