why can't i load this .csv file in matlab?

조회 수: 1 (최근 30일)
James
James 2015년 5월 21일
댓글: James 2015년 5월 21일
I am getting a error message saying that this file can not be loaded in matlab using csvread... Why not.. I am very confused here.
I load it as such
oneTeenthhz_input = transpose(csvread('input1.csv'));

채택된 답변

Joseph Cheng
Joseph Cheng 2015년 5월 21일
편집: Joseph Cheng 2015년 5월 21일
are you sure that you want column 8065 or end of line one to read "0};"? i am running something so i can't try using matlab but i can see that being an issue
what is your sample code to read it in? I also am thinking it could be that the lines are not the same length of entries.
  댓글 수: 4
Joseph Cheng
Joseph Cheng 2015년 5월 21일
Also through out your excel file you have random { and i think } scattered through it. like column 1803 in row 1 has
0.00502173458987{0
which isn't a number
James
James 2015년 5월 21일
Ahh... The data had been inserted multiple times..{ indicates the start of the dataset..
thanks:)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by