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: crtbp.m
    path of file: ./repos/GA-Toolbox
    
    the code of the file until where you have to start completion: % CRTBP.m - Create an initial population
%
% This function creates a binary population of given size and structure.
%
% Syntax: [Chrom Lind BaseV] = crtbp(Nind, Lind, Base)
%
% Input Parameters:
%
%		Nind	- Either a scalar containing the number of individuals
%	    		  in the new population or a row vector of length two
%			      containing the number of individuals and their length.
%
%		Lind	- A scalar containing the length of the individual
%   			  chromosomes.
%
%		Base	- A scalar containing the base of the chromosome 
%			      elements or a row vector containing the base(s) 
%   			  of the loci of the chromosomes.
%
% Output Parameters:
%
%		Chrom	- A matrix containing the
    
function creates a binary population of given size and structure.
%
% Syntax: [Chrom Lind BaseV] = crtbp(Nind, Lind, Base)
%
% Input Parameters:
%
%		Nind	- Either a scalar containing the number of individuals
%	    		  in the new population or a row vector of length two
%			      containing the number of individuals and their length.
%
%		Lind	- A scalar containing the length of the individual
%   			  chromosomes.
%
%		Base	- A scalar containing the base of the chromosome 
%			      elements or a row vector containing the base(s) 
%   			  of the loci of the chromosomes.
%
% Output Parameters:
%
%		Chrom	- A matrix containing the random valued chromosomes 
%			      row wise.
%
%		Lind	- A scalar containing the length of the chromosome.
%
%		BaseV	- A row vector containing the base of the 
%   			  chromosome loci.
%
% Author: Andrew Chipperfield
% Date:	19-Jan-94
%
% Tested under MATLAB v6 by Alex Shenfield (20-Jan-03)

function [Chrom, Lind, BaseV] = crtbp(Nind, Lind, Base)
nargs = nargin ;

% Check parameter consistency

if nargs >= 1, [mN, nN] = size(Nind) ; end