Compare 2 Cell Arrays and add equal values into 3rd Array

9 visualizaciones (últimos 30 días)
Mert Daglar
Mert Daglar el 25 de Nov. de 2019
Comentada: Mert Daglar el 25 de Nov. de 2019
Hi,
I'm new in learning Matlab and I'm trying to compare two Cell Arrays and get the result into another "result-Array", where the equal data of both strings are in.
I tried result = arrayA == arrayB but I get the Error: Undefined operator '==' for input arguments of type 'cell'.
Can someone please help me to get a solution?
Thanks for your answers!

Respuesta aceptada

RiHo
RiHo el 25 de Nov. de 2019
Editada: RiHo el 25 de Nov. de 2019
Hello.
Have you tried the intersect() matlab built-in function?

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by