필터 지우기
필터 지우기

Problem with importing exact data dimension from SPSS to MATLAB

조회 수: 2 (최근 30일)
Oluwaseun
Oluwaseun 2011년 8월 11일
I imported a large data dimension 4999 x 421 from SPSS but instead of importing data of exact size, MATLAB is importing data of size 4999 x 256 which means it has neglected some columns. How do i resolve this problem?
Thanks.
  댓글 수: 2
the cyclist
the cyclist 2011년 8월 11일
Diagnosing your problem would be made much easier if you provided some details about how you are trying to import the data (e.g. the code you are using, or doing it via the GUI, etc).
Oluwaseun
Oluwaseun 2011년 8월 12일
Firstly, i converted the SPSS file to a .wk1 file and then i used the 'file import data' icon to import the .wk1 file to MATLAB.
I did not write any code for it as i am new to MATLAB.

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

답변 (2개)

Andreas Goser
Andreas Goser 2011년 8월 12일
My guess is, that this is caused by column separator issues.
Maybe MATLAB interprets the to be imported data differnt as of dots, commas etc. If you can post a couple of rows as example?

Maryam
Maryam 2011년 10월 12일
I am having the same problem. My data file does contain spaces between different cells which are randomly ordered and I do not want to touch them. Is there anyway of solving this problem?

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by