How to add 1 into the array
Mostrar comentarios más antiguos
I have an array
M =[1 0 0]
How can I add 1 into the array so the answer will be
N=[1 0 1]
If I add other 1, the answer will be
O = [1 1 0]
Respuesta aceptada
Más respuestas (1)
madhan ravi
el 7 de Dic. de 2018
Editada: madhan ravi
el 7 de Dic. de 2018
O = M==N
Categorías
Más información sobre Structures en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!