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: bin_increment.m
    path of file: ./repos/FeatureExtractionToolbox/Toolbox
    
    the code of the file until where you have to start completion: function [ out ] = bin_increment( signal )
% Bins EMG signal incrementally creating overlapped segments of 100ms

t = .0005; % Sample frequency 2000 Hz = 1 sample/.5ms
inc = 50; % Shift after each bin
frame_length = .1; % Frame length in ms

    
function [ out ] = bin_increment( signal )
% Bins EMG signal incrementally creating overlapped segments of 100ms

t = .0005; % Sample frequency 2000 Hz = 1 sample/.5ms
inc = 50; % Shift after each bin
frame_length = .1; % Frame length in ms
n = frame_length/t;
frames = length(signal)/inc - n/inc;
out = zeros(n,frames);
for k = 0:(frames-1)
        out(:,k+1) = signal((k*inc):(k*inc+n));
end