dataset ismember error message

1 visualización (últimos 30 días)
jonas
jonas el 13 de Feb. de 2013
Hi I get this error trying to use ismember on two datasets, please advise?
Y=ismember(ds_raw,ds)
Undefined function 'eq' for input arguments of type 'dataset'.
Error in ismember>ismemberlegacy (line 347)
tf = (a == s);
Error in ismember (line 76)
[varargout{1:nlhs}] = ismemberlegacy(varargin{:});
ds =
bil motor vvx cyl
'v70' 'b234' 'aut' 4
'v60' 'b234' 'man' 6
's80' 'b326' 'man' 6
's80' 'b326' 'man' 6
's80' 'b326' 'man' 6
'v70' 'b234' 'aut' 4
'v70' 'b234' 'aut' 4
ds_raw =
bil motor vvx cyl
'v70' 'b234' 'aut' 4
'v60' 'b234' 'man' 6
's80' 'b326' 'man' 6
's80' 'b234' 'aut' 4
'v70' 'b326' 'man' 4
'v70' 'c325' 'man' 4
  5 comentarios
the cyclist
the cyclist el 14 de Feb. de 2013
Just as a point of information, Sean's command worked for me, using R2012b.
jonas
jonas el 14 de Feb. de 2013
Is it a R2012a problem then?

Iniciar sesión para comentar.

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 14 de Feb. de 2013
ismember overloaded for datasets appears to be new in 12b. If your company/university is current on your SMS subscription you can upgrade for free.
  3 comentarios
Sean de Wolski
Sean de Wolski el 14 de Feb. de 2013
Either log into your account on MathWorks.com and download it or talk to your IT people who manage the license.
(Or call us :), most of the people here don't bite!)
jonas
jonas el 15 de Feb. de 2013
Ok, thank you for answering my question!! :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by