function [volume] = downsamplevolume(cfg, volume);

% VOLUMEDOWNSAMPLE downsamples an anatomical MRI or source reconstruction
% and optionally normalizes its coordinate axes, keeping the homogenous
% transformation matrix correct.
%
% Warning: DOWNSAMPLEVOLUME has been renamed to VOLUMEDOWNSAMPLE
% Warning: backward compatibility will be removed in the future

warning('DOWNSAMPLEVOLUME has been renamed to VOLUMEDOWNSAMPLE');
warning('backward compatibility will be removed in the future');

[volume] = volumedownsample(cfg, volume);
