csv - Matlab csvread: 450k+ columns -


i attempting read file matlab's csvread. has 10 rows , ~900,000 columns. in case of such large number of columns, function returns vector, opposed matrix of proper dimensions.

in order test this, truncated 2 sizes using cut, , when there 457,000 columns have same behavior:

>> = csvread( 'test.csv' ); >> size(a)                    ans =   4570000           1 

but when cut down 45,700 columns, have desired behavior:

>> = csvread( 'test.csv' ); >> size(a)                    ans =        10       45700 

of course, matlab capable of handling matrices of size 10x457,000, , suppose can use fscanf in loop (i feel less inefficient?), wondering if had insight.

edit: suppose make vector matrix of proper dimensions--but still understand seemingly strange behavior of matrix


Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -