dataset ismember error message
古いコメントを表示
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 件のコメント
Azzi Abdelmalek
2013 年 2 月 13 日
What should be the result?
Sean de Wolski
2013 年 2 月 13 日
編集済み: Sean de Wolski
2013 年 2 月 13 日
- What release are you using?
- Does this work?
ds = dataset((1:10)');
ismember(ds,ds)
jonas
2013 年 2 月 14 日
the cyclist
2013 年 2 月 14 日
Just as a point of information, Sean's command worked for me, using R2012b.
jonas
2013 年 2 月 14 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Multiloop, Multiobjective Tuning についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!