MATLAB Answers

Mariam Sheha

how to make frequency domain filtering?!

Asked by Mariam Sheha
on 11 Jun 2013

Hey everybody;

I am trying to make a code for "frequency domain filtering" using fourier transform function , but that error is always displayed...

Error Message:

??? Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N) to change the limit. Be aware that exceeding your available stack space can crash MATLAB and/or your computer.

Error in ==> imformats>find_in_registry

Can anybody help me to solve that problem??!!

Thanks a lot... end


Thanks for your answer...

% code


entry=rgb2gray (I);



HZ=fft2(double(hz), PQ(1), PQ(2));





figure,imshow(fdf,[ ])

When the error shows up, it will show the find_in_registry call, but it will also say "called from" and give another line, and that will be "called from" something, and on upwards until eventually it shows which line within your code (above) that the problem is triggered by.

Also we will need to know the name of the .m file that the code was stored in.

for the error it 's not mentioned the error problem line ...

the name of the file is (ready_code_2)...

1 Answer

Answer by Honglei Chen
on 11 Jun 2013

What's your script/function name? Just a wild guess, but maybe you are using fft2 as your function name?

  1 Comment

Thanks a lot,

no i don't , i know what you mean but i name it by anther name

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!