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: get_all_camera_coordinate.m
    path of file: ./repos/3D-scanner/examples/oldman_100lines/scripts
    
    the code of the file until where you have to start completion: % 获取所有的相机坐标系下的点

% image_num: 拍摄的图片数量
% result_file_path: 保存相机坐标系下的 x' y' z'的文件 './camera_coordinate_results.mat'

function [X, Y, Z]  = get_all_camera_coord
    
function [X, Y, Z]  = get_all_camera_coordinate(image_num, results_file_path)
X = [];
Y = [];
Z = [];

camera_coordinate_results = load(results_file_path);

for i = 1:image_num

    data = camera_coordinate_results.(strcat('c_c_rotate', num2str(i)));
    x = data(:, 1);
    y = data(:, 2);
    z = data(:, 3);
    X = [X, x'];
    Y = [Y, y'];
    Z = [Z, z'];
    
end