Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

4 visualizzazioni (ultimi 30 giorni)
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 Commenti
Jiajie Zhang
Jiajie Zhang il 29 Apr 2019
Yes, it's a numeric array, but I store it in a cell.
Walter Roberson
Walter Roberson il 29 Apr 2019
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?

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by