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: RM_histogram2.m
    path of file: ./repos/hctsa/Toolboxes/Rudy_Moddemeijer
    
    the code of the file until where you have to start completion: % RM_histogram2 Computes the two dimensional frequency histogr
    
function [result, descriptor] = RY_histogram2(x,y,descriptor)

if nargin <1
   disp('Usage: RESULT = HISTOGRAM2(X,Y)')
   disp('       RESULT = HISTOGRAM2(X,Y,DESCRIPTOR)')
   disp('Where: DESCRIPTOR = [LOWERX,UPPERX,NCELLX;')
   disp('                     LOWERY,UPPERY,NCELLY]')
   return
end