Binary matrix in Matlab

7 views (last 30 days)
AYOUB KRARI
AYOUB KRARI on 3 Jul 2019
Answered: Image Analyst on 4 Jul 2019
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

Bruno Luong
Bruno Luong on 4 Jul 2019
Edited: Bruno Luong on 4 Jul 2019
If you have communications toolbox, create galois field array (with m=1) then apply inv.

More Answers (1)

Image Analyst
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;

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!