Cody

Problem 42341. LMI Twins : Fuzzy Image matching

Solution 889183

Submitted on 12 May 2016 by Richard Zapor
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass

Elapsed time is 0.023864 seconds.

2   Pass
tic url='https://sites.google.com/site/razapor/matlab_cody/Twins.PNG?attredirects=0&d=1'; urlwrite(url,'Twins.PNG'); fprintf('url write complete %.1f\n',toc) fn='Twins.PNG'; m=LMI_Twins(fn); assert(Eval_Twins(m)); fprintf('Process Complete %.1f\n',toc)

url write complete 0.3 Process Complete 11.8

3   Pass
% Creation Process for a Cody p file % Create function func_name.m % pcode func_name % fn='func_name.p'; % fr=fopen(fn,'r'); % m=fread(fr); % fclose(fr); % fw=fopen([fn(1:end-1) 'txt'],'w'); % fprintf(fw,'%s',dec2hex(m)'); % fclose(fw); % use wordpad to open func_name.txt % In cody in first block write: % fh = fopen('func_name.p','wb'); % fwrite(fh, hex2dec(reshape('INSERT WORDPAD TEXT HERE',2,[]).')); % fclose(fh); % rehash path;