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: update_azimuth.m
    path of file: ./repos/HRTF-Individualization/model/matlabcode/functions/gui/refresh
    
    the code of the file until where you have to start completion: function update_azimuth(hObject, eventdata, handles)

% Get Azimuth Values for given Elevation Value

global current_elevation
global ANGLES
global current_azimuth

% Get All Elevation Listbox values
current_elevation = get(handles.elevation,'Value'); 

    
function update_azimuth(hObject, eventdata, handles)

% Get Azimuth Values for given Elevation Value

global current_elevation
global ANGLES
global current_azimuth

% Get All Elevation Listbox values
current_elevation = get(handles.elevation,'Value'); 
all_elevation = str2num(get(handles.elevation,'String'));
elevation_real = all_elevation(current_elevation);

% Get All Azimuth Listbox values
current_azimuth = get(handles.azimuth,'Value'); 
all_azimuth = str2num(get(handles.azimuth,'String'));
azimuth_real = all_azimuth(current_azimuth);

    set(handles.azimuth,'Value', 1);
    indizes = find(ANGLES(:,2) == elevation_real);
    new_azimuth_values = zeros(length(indizes),1);
    
    for i=1:length(indizes)
        new_azimuth_values(i) = ANGLES(indizes(i),1);
    end