Borrar filtros
Borrar filtros

How to extract the same value from two different variable.

2 visualizaciones (últimos 30 días)
SMY
SMY el 22 de Jul. de 2016
Comentada: SMY el 22 de Jul. de 2016
Hai,
&#1I have two matrix&#1
&#1 A = [1 2 3 4 5 6];&#1
B = [1 9 5 6 7 2]; &#1
&#1 How I suppose to do to get the new matrix that contains the similar value of A and B?&#1
example result: C = [1 2 4 6]&#1
&#1Thank you

Respuesta aceptada

Walter Roberson
Walter Roberson el 22 de Jul. de 2016

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion 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