Solution 994905

Submitted on 5 Oct 2016 by Jan Orwat
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

2   Pass
found = 0; fid = fopen('fast_fourier.m'); while(~feof(fid)) s = fgetl(fid); k = regexp(s,'open\(|regexp\(|fft\(|fft2\('); if ~isempty(k) found = 1; end end fclose(fid); assert(isequal(found,0))

3   Pass
for k=5:50 x = [11;k;2]; y_correct = fft(x); assert(isequal(fast_fourier(x),y_correct)) end

Suggested Problems