필터 지우기
필터 지우기

how to increase the dimensions of matrix?

조회 수: 1 (최근 30일)
kanwal preet
kanwal preet 2015년 8월 18일
댓글: Uladzimir 2015년 8월 18일
i read a xls file of type uint16 with size 5000*577(row*col), xlsread function i used, it convert values in double and store only 5000*256 double, firstly datatype changed, convert my values in double and only store 256 values per row
  댓글 수: 2
dpb
dpb 2015년 8월 18일
Would have to be able to see the file to know why the remaining columns weren't imported as well as the xlsread function call used; more than likely on that part there's something in the file that terminated the scanning at the column that did.
As for the type, you'll have to cast the return to the uint16; xlswrite will always return a double.
Uladzimir
Uladzimir 2015년 8월 18일
Hi, you could try "importdata" instead

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

답변 (1개)

the cyclist
the cyclist 2015년 8월 18일
You might consider using the "Import Data" tool in the command window, which can help you customize the import process and write the code for you to make it work the way you want.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by