This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test  Status  Code Input and Output 

1  Pass 
%%
assert(isequal(exist('fast_fourier.m'),2))

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
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacefunc at 7]
[Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you
rename the function to avoid a potential name conflict.]
[> In fast_fourier at 2
In verifyCode>evaluateCode at 227
In verifyCode at 40
In fevalJSON at 14
In workspacef...

805 Solvers
112 Solvers
Rosenbrock's Banana Function and its derivatives
113 Solvers
Reverse the elements of an array
664 Solvers
Sum the numbers on the main diagonal
444 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!