You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: showfft.m
    path of file: ./repos/Image-Harmonization-Dataset-iHarmony4/Lalonde and Efros/utils/3rd_party/pkovesi/Misc
    
    the code of the file until where you have to start completion: % SHOWFFT - Displays amplitud
    
function showfft(im, figNo)

    Octave = exist('OCTAVE_VERSION') ~= 0;  % Are we running under Octave?    
    Title = inputname(1);      % Get variable name of image data    
        
    if nargin == 2
	figure(figNo);         % Reuse or create a figure window with this number
    else
	figNo = figure;        % Create new figure window
    end