convert cell to double
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello,
When i imported data from my excel sheet to Matlab by using the 'import data' button, some colums were identified as cell and others as double (all the colums in excel consists of numbers). The data in the colums that are 'double' are NaN (once imported), and I can't convert the cell type to double in order that i can plot these.
Can anyone help me with this?
Thanks!
댓글 수: 0
답변 (1개)
Sean de Wolski
2014년 3월 10일
In the import tool, change the selection to double, then reimport.
This is the best part of the import tool, you can rapidly change your settings until you're happy.
댓글 수: 2
Sean de Wolski
2014년 3월 10일
Could you attach a small representative example of your excel file (zipped)?
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!