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: project.m
    path of file: ./repos/facerec/m/models
    
    the code of the file until where you have to start completion: % Copyright (c) Philipp Wagner. All rights reserved.
% Licensed under the BSD license. See LICENSE file in the project root for full license information.

function Y = project(X, W, mu)
	%%	Projects X onto W, pass
    
function Y = project(X, W, mu)
	%%	Projects X onto W, pass mu to adjust mean.
	%%
	%%	Args:
	%%		X [dim x num_data] input data
	%%		W [dim x num_components] transformation matrix
	%%		mu [dim x 1] sample mean
	%%
	%%	Returns:
	%%		Y [num_components x num_data] projection
	%%
	X = X - repmat(mu, 1, size(X,2));
	Y = W'*X;
end