Binary matrix in Matlab
显示 更早的评论
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 .
采纳的回答
更多回答(1 个)
Image Analyst
2019-7-4
If by "inverse" you meant to turn true into false and turn false into true, do this
binaryImage = ~binaryImage;
类别
在 帮助中心 和 File Exchange 中查找有关 Error Detection and Correction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!