Binary matrix in Matlab
9 views (last 30 days)
Show older comments
Hi, i'm a research student , i have a Question :
i'm stuck in some Matlab codes , i want to find the inverse of a binary matrix ,
is there any function that can find the inverse of a matrix ( binary form )
can any one help me
Thanks in advance .
0 Comments
Accepted Answer
More Answers (1)
Image Analyst
on 4 Jul 2019
If by "inverse" you meant to turn true into false and turn false into true, do this
binaryImage = ~binaryImage;
0 Comments
See Also
Categories
Find more on Error Detection and Correction 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!