Error while using kstat2 function: Out of range or non-integer values truncated during conversion to character.
1 view (last 30 days)
Show older comments
I am using Kolmogorov-Smirnov test to compare 2 datasets. [h,p] = kstest2('Y1','Y2')
Y1 and Y2 are my datasets. They are DataMatrix format from a microarray(generated with matlab's affyrma function) Each contains a single column of data with thousands of rows. Each row has a row heading and the column has its own heading.
The values in each dataset are mostly from -3 to 3, possibly some NaN's in there.
I obtain this error: Out of range or non-integer values truncated during conversion to character. > In kstest2 at 152
To try and figure out what's causing this I've made some mock vectors w/NaN's as well as difference number combinations and the kstest2 function has worked fine in those tests.
Any idea what it means and what is the cause?
4 Comments
Answers (0)
See Also
Categories
Find more on Data Import and Management in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!