Problems with intersect function
2 次查看(过去 30 天)
显示 更早的评论
A={'LA1';'LA2';'LA3';'LA4';'LA5';'LA6';'LA7';'LA8';'LA9';'LA10';'LA11'};
B={'LA1';'LA2';'LA3';'LA10';'LA11';'LA12';'LAH1'};
intersect(A,B, 'stable')
When I use intersect, I get this error:
1 个评论
Bruno Luong
2019-9-19
work for me (R2019B)
A={'LA1';'LA2';'LA3';'LA4';'LA5';'LA6';'LA7';'LA8';'LA9';'LA10';'LA11'};
B={'LA1';'LA2';'LA3';'LA10';'LA11';'LA12';'LAH1'};
intersect(A,B, 'stable')
ans =
5×1 cell array
{'LA1' }
{'LA2' }
{'LA3' }
{'LA10'}
{'LA11'}
回答(1 个)
Divya Yerraguntla
2019-9-26
Hi Diana,
Have a look at a question with similar issue : https://www.mathworks.com/matlabcentral/answers/418668-digraph-plot-bug-in-2018a
Hope it helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!