NS = getimage(handles.axes3 )
f= fftshift(fft2(NS))
w=0.5; N=2;
hf=ftrans2(N,w,'high');
OM=hf(255,255).*abs(f);
imshow(OM,'parent',handles.axes4
Error using ftrans2
Error in main>pushbutton2_Callback
hf=ftrans2(N,w,'high');

 Accepted Answer

Stephen23
Stephen23 on 11 Jan 2019

0 votes

MATLAB's ftrans2 has either one or two inputs. The documentation does not mention or show three input arguments.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!