crossvalind function doesn't work
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
0 commentaires
Réponses (1)
Tom Lane
le 7 Mar 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.
0 commentaires
Voir également
Catégories
En savoir plus sur Bioinformatics Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!