Info
此问题已关闭。 请重新打开它进行编辑或回答。
how to figure out if there exists duplicated rows in a cell?
1 次查看(过去 30 天)
显示 更早的评论
I'm generating a cell array like this,
216 46 0.503045247761871
190 49 3.58273130505241,
every time I put new data in this cell, I need to verify if it's a duplicated one,
such as, I get 190 49 3.58273130505241 again, which is a duplicated one, so I need to move on and generate another data.
I want to get a value Flag,
if the new data I want to put into the cell array is duplicated, then Flag =1,
else Flag =0.
3 个评论
Walter Roberson
2019-4-29
Is it a cell array in which each cell entry contains one numeric row? Is it a cell array in which each cell entry contains a varying number of numeric rows and you want to look through all of the entries?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!