Addition of two unequal matrices
3 views (last 30 days)
Show older comments
I have two matrices of binary variables, e.g A = [1 0;1 1;0 1] and B = [1;0;1].My first question is how to add these matrices, and the other question is I want to apply this statement on the result: A + B <=1. Thanks
3 Comments
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!