Binary matrix in Matlab
Afficher commentaires plus anciens
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 .
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 4 Juil 2019
If by "inverse" you meant to turn true into false and turn false into true, do this
binaryImage = ~binaryImage;
Catégories
En savoir plus sur Error Detection and Correction dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!