Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how to figure out if there exists duplicated rows in a cell?

1 回表示 (過去 30 日間)
Jiajie Zhang
Jiajie Zhang 2019 年 4 月 29 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件のコメント
Jiajie Zhang
Jiajie Zhang 2019 年 4 月 29 日
Yes, it's a numeric array, but I store it in a cell.
Walter Roberson
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!

Translated by