Skip to content
Snippets Groups Projects
Commit 496635a1 authored by Andrew Cohen's avatar Andrew Cohen
Browse files

change de2bi to standard dec2bin

parent 26efe0a4
Branches master
No related tags found
No related merge requests found
% GetRandomEllipseImage(K)
% generate a logical image with K overlapping ellipses
%
......@@ -124,7 +123,7 @@ idxPtsOverlap={};
% 3 is in 1 and 2, 5 is in 4 and 1, etc.
% no overlap between superset and subset pixels
for n=1:(2^K)-1
rgBinary=de2bi(n);
rgBinary=dec2bin(n);
idx1 = find(rgBinary);
if length(idx1)==1
idxPtsOverlap{n}=idxPts{idx1};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment