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: mesheuler.m
    path of file: ./repos/iso2mesh
    
    the code of the file until where you have to start completion: function [X,V,E,F]=mesheuler(face)
%
% [X,V,E,F]=mesheuler(face)
%
% Euler's charastistics of a mesh
%
% author: Qianqian Fang, <q.fang at neu.edu>

    
function [X,V,E,F]=mesheuler(face)
%
% [X,V,E,F]=mesheuler(face)
%
% Euler's charastistics of a mesh
%
% author: Qianqian Fang, <q.fang at neu.edu>
%
% input: 
%   face: a closed surface mesh
%
% output:
%   X: Euler's charastistics
%   V: number of vertices 
%   E: number of edges
%   F: number of faces
%
% -- this function is part of iso2mesh toolbox (http://iso2mesh.sf.net)
% 

% mesh vertices
V=length(unique(face));

% mesh total edges
E=face(:,[1,end