How to add 1 into the array
Ältere Kommentare anzeigen
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]
Akzeptierte Antwort
Weitere Antworten (1)
madhan ravi
am 7 Dez. 2018
Bearbeitet: madhan ravi
am 7 Dez. 2018
O = M==N
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!