function projMat = helperTrainProjectionMatrix(xvecs,YTrain,numEigenvectors) %#ok<INUSD>
% This function is only for use in this example. It may be changed or
% removed in a future release. 
[~,projMat] = evalc("audio.internal.ivector.trainProjMat(xvecs,YTrain(:),eye(size(xvecs,1)),'NumEigenvectors',numEigenvectors)");
end