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: minph.m
    path of file: ./repos/HRTF-Individualization/model/matlabcode/functions/filter
    
    the code of the file until where you have to start completion: function minph()

clear; close all;

NCases = 25;
NFFT = 512; % FFT Size
Z = linspace(-0.01,-0.99,NCases)'; % Zeros going from z = -0.5 to -0.99
P = 1/2; % Pole at 1/2;

Ang.H = zeros(NFFT,NCases); % Will hold phase responses of H
Ang.Hm = zeros(NFFT,NCases); % Will hold phase responses of Hm
A = poly(P); % Denominator polynomial
for i = 1:NCases


    
function minph()

clear; close all;

NCases = 25;
NFFT = 512; % FFT Size
Z = linspace(-0.01,-0.99,NCases)'; % Zeros going from z = -0.5 to -0.99
P = 1/2; % Pole at 1/2;

Ang.H = zeros(NFFT,NCases); % Will hold phase responses of H
Ang.Hm = zeros(NFFT,NCases); % Will hold phase responses of Hm
A = poly(P); % Denominator polynomial
for i = 1:NCases

   B = poly(Z(i)); % Numerator polynomial for this case
   [H,w] = freqz(B,A); % Frequency response of filter
   [h,n] = impz(B,A,512); % Impulse response of filter
   [NotUsed hm] = rceps(h);
   [Hm,w] = freqz(hm,1);

   Ang.H(:,i) = angle(H);
   Ang.Hm(:,i) = angle(Hm);

end