Page 1 of 1

I need someone help me to draw the Flowchart for this Matlab code: function bmatch = findmatch (data) bmatch = 0; for i=

Posted: Thu May 05, 2022 2:23 pm
by answerhappygod
I need someone help me to draw the Flowchart for this Matlab
code:
function bmatch = findmatch (data)
bmatch = 0;
for i=1:length(data)-1
for j=i+1:length(data)
if data(i) == data(j)
bmatch = 1
break;
end
end
if bmatch == 1
break;
end
end
end