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: Pure_Pursiut_init.m
    path of file: ./repos/Autonomous-Drive/Workspace
    
    the code of the file until where you have to start completion: %% Pure Pursuit Controller and Stanley Con
    
function from Drive scenerio lane change.
% scenerio = course2_fig8;                      %This represents function from Drive scenerio fig eight course.
% scenerio = course3_city_road;                             %This represents function from Drive scenerio city road
n = size(scenerio);

for ii = 1:n(2)
    refPose = [scenerio(ii).ActorPoses.Position(1);scenerio(ii).ActorPoses.Position(2);scenerio(ii).ActorPoses.Yaw];
end