'Too less data' error
Posted: Tue Feb 7, 2012 12:04
Hello:
I am using the CRP toolbox and using it like this:
rp=crp2(x);
where 'x' is a data matrix of several columns (more than two).
For some contents of 'x', not always, I get this error:
??? Error using ==> crp2 at 297
Too less data
Either too much NaN or the number of columns in the vectors do not match.
However, 'x' does not have any 'NaN' value and the second diagnostic (mismatching number of column) possibly only applies when two data parameters are provided (which is not the case).
I wonder if the problem may have something to do with entries with value 0. Are zero values within 'x' treated in a special way?
Any hint on what might be wrong, why and how to fix it?
Thank you very much,
Javier
I am using the CRP toolbox and using it like this:
rp=crp2(x);
where 'x' is a data matrix of several columns (more than two).
For some contents of 'x', not always, I get this error:
??? Error using ==> crp2 at 297
Too less data
Either too much NaN or the number of columns in the vectors do not match.
However, 'x' does not have any 'NaN' value and the second diagnostic (mismatching number of column) possibly only applies when two data parameters are provided (which is not the case).
I wonder if the problem may have something to do with entries with value 0. Are zero values within 'x' treated in a special way?
Any hint on what might be wrong, why and how to fix it?
Thank you very much,
Javier