Binary matrix in Matlab
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 .
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;
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!