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: fdct_usfft_param.m
    path of file: ./repos/CS_MoCo_LAB/reconstruction/matlab/CS_LAB_matlab/utils/utils_TRAFO/CurveLab-2.1.3/fdct_usfft_cpp/mex
    
    the code of the file until where you have to start completion: function [SX,SY,FX,FY,NX,NY] = fdct_usfft_param(C)

% fdct_usfft_param - Gives the phase space location of each curvelet
%
% Input
%     C     Curvelet coefficients
%
% Output

    
function [SX,SY,FX,FY,NX,NY] = fdct_usfft_param(C)

% fdct_usfft_param - Gives the phase space location of each curvelet
%
% Input
%     C     Curvelet coefficients
%
% Output
%     SX    Cell array, SX{s}{w}(i,j), gives the row index of the center of the curvelet
%           index by (i,j)  in scale s and wedge w 
%     SY    Cell array, SY{s}{w}(i,j), gives the column index of the center of the curvelet
%           index by (i,j)  in scale s and wedge w 
%     FX    Cell array, FX{s}{w} gives the row index of the center frequency of the curvelet
%           in scale s and wedge w
%     FY    Cell array, FY{s}{w} gives the column index of the center frequency of the curvelet
%           in scale s and wedge w
%     NX    Cell array, NX{s}{w} gives the number of rows of the curvelet matrix
%           in scale s and wedge w
%     FY    Cell array, FY{s}{w} gives the number of columns of the curvelet matrix
%           in scale s and wedge w
%

  [m,n] = size(C{end