|
function windowed_signal = Hamming_Windower(signal)
|
|
% Calculate the length of the signal
|
|
N = length(signal);
|
|
|
|
% Create the Hamming window
|
|
window_function = hamming(N);
|
|
|
|
% Apply the Hamming window to the signal
|
|
windowed_signal = signal .* window_function;
|
|
end
|