Cody

Problem 909. Image Processing 003: Interferometer Data Interpolation

Solution 2941540

Submitted on 13 Sep 2020
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   Fail
% Load a real Interferometry Profile % Previously TriScatteredInterp corrected % Randomly induce Drop-Outs tic urlwrite('http://tinyurl.com/matlab-interferometer','Inter_zN.mat') load Inter_zN.mat toc zN_orig=zN; %figure(44);surf(zN_orig,'LineStyle','none') zN_idx=find(~isnan(zN)); for i=1:20 zN(zN_idx(randi(size(zN_idx,1))))=0; end %figure(45);surf(zN,'LineStyle','none') tic out = Fix_interferometer(zN); toc delta=abs(out-zN_orig); fprintf('Max delta=%e\n',max(delta(:))) % Threshold based on a handful of test cases assert(max(delta(:))<5e-7,sprintf('Max delta=%f\n',max(delta(:))))

Undefined function 'Fix_interferometer' for input arguments of type 'double'.

Suggested Problems

More from this Author241

Community Treasure Hunt

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

Start Hunting!