How to add 1 into the array
古いコメントを表示
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]
採用された回答
その他の回答 (1 件)
madhan ravi
2018 年 12 月 7 日
編集済み: madhan ravi
2018 年 12 月 7 日
O = M==N
カテゴリ
ヘルプ センター および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!