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: RadarPolarToCartesian.m
    path of file: ./repos/robotcar-dataset-sdk/matlab
    
    the code of the file until where you have to start completion: function cart_img = RadarPolarToCartesian(azimuths, fft_data, ...
    radar_resolution, cart_resolution, cart_pixel_width, interpolate_crossover)
%
% RadarPolarToCartesian - Convert a polar radar scan to cartesian form.
%
% [cart_img, sample_range, sample_angle] = RadarPolarToCartesian( ...
%    azimuths, fft_data, radar_resolution, cart_resolution, cart_min_range)
%
% INPUTS:
%   azimuths: Rotation for each polar radar azimuth (radians)
%   fft_data: Polar radar power readings

    
function cart_img = RadarPolarToCartesian(azimuths, fft_data, ...
    radar_resolution, cart_resolution, cart_pixel_width, interpolate_crossover)
%
% RadarPolarToCartesian - Convert a polar radar scan to cartesian form.
%
% [cart_img, sample_range, sample_angle] = RadarPolarToCartesian( ...
%    azimuths, fft_data, radar_resolution, cart_resolution, cart_min_range)
%
% INPUTS:
%   azimuths: Rotation for each polar radar azimuth (radians)
%   fft_data: Polar radar power readings
%   radar_resolution: Resolution of the raw polar radar data 
%       (metres per pixel) as returned by LoadRadar. For the Oxford 
%       Radar RobotCar Dataset this will always be 0.0432.
%   cart_resolution: Output cartesian pixel resolution (metres per pixel)
%   cart_pixel_size: Width and height of the returned square cartesian 
%       output (pixels). Please see the Notes below for a full explanation
%       of how this is used. 
%   interpolate_crossover: If true interpolates between the end