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: multiskew.m
    path of file: ./repos/lrslibrary/libs/manopt/manopt/tools
    
    the code of the file until where you have to start completion: function Y = multiskew(X)
% Returns the skew-symmetric parts of the matrices in the 3D matrix X.

    
function Y = multiskew(X)
% Returns the skew-symmetric parts of the matrices in the 3D matrix X.
%
% function Y = multiskew(X)
%
% Y is a 3D matrix the same size as X. Each slice Y(:, :, i) is the
% skew-symmetric part of the slice X(:, :, i).
%
% See also: multiprod multitransp multiscale multisym

% This file is part of Manopt: www.manopt.org.
% Original author: Nicolas Boumal, Jan. 31, 2013.
% Contributors: 
% Change log: 

    Y = .5*(X - multitransp(X));
    
end