crossvalind function doesn't work
Ältere Kommentare anzeigen
Hi,
I have the Bioinformatics toolbox but not the Statistics toolbox and would like to use the crossvalind function with the "groups" argument (part of the bioinformatics toolbox). However, when I try to do so I get the error
Undefined function 'grp2idx' for input arguments of type 'double'.
as 'grp2idx' is part of the Statistics toolbox. Does that mean crossvalind depends on another toolbox?? Or are there any workarounds?
Thank you.
Antworten (1)
Tom Lane
am 7 Mär. 2012
I'm not sure how you got one toolbox without the other. The Bioinformatics Toolbox is supposed to depend on the Statistics Toolbox, according to this:
The third output from
unique(s,'first');
is approximately what grp2idx uses for its first output. So if you plan to write your own replacement for grp2idx ,that would be the place to start.
Kategorien
Mehr zu Bioinformatics Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!