Binary matrix in Matlab

9 visualizzazioni (ultimi 30 giorni)
AYOUB KRARI
AYOUB KRARI il 3 Lug 2019
Risposto: Image Analyst il 4 Lug 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 .

Risposta accettata

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

Più risposte (1)

Image Analyst
Image Analyst il 4 Lug 2019
If by "inverse" you meant to turn true into false and turn false into true, do this
binaryImage = ~binaryImage;

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by