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: subset_indicator_matrix.m
    path of file: ./repos/CanlabCore/CanlabCore/Statistics_tools
    
    the code of the file until where you have to start completion: function subsets = subset_indicator_matrix(n)
% Create a matrix whose rows contain indicators (1/0 values) for all
% possible subsets of n variables

    
function subsets = subset_indicator_matrix(n)
% Create a matrix whose rows contain indicators (1/0 values) for all
% possible subsets of n variables
%
% :Usage:
% ::
%
%     subsets = subset_indicator_matrix(n)
%
% Use this, for example, to create a matrix that tells you all possible
% combinations of regressors to include in a regression.
%
%
%    Tor Wager, March 07
%


    vals = cell(1,n);
    [vals{:}] = deal([1 0]);
    subsets = combvec(vals{:})';

end