Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

3 visualizaciones (últimos 30 días)
Jiajie Zhang
Jiajie Zhang el 29 de Abr. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 comentarios
Jiajie Zhang
Jiajie Zhang el 29 de Abr. de 2019
Yes, it's a numeric array, but I store it in a cell.
Walter Roberson
Walter Roberson el 29 de Abr. de 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?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by