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: DH_draw.m
    path of file: ./repos/Robotics-Planning-Dynamics-and-Control/1_Robot_Manipulator_and_Coordinates/DH-functions
    
    the code of the file until where you have to start completion: % This is used to draw lines in a 3D space using an array of coordinates
% passed in as the para
    
function [] = DH_draw(X, Y, Z)

[~, c(1)] = size(X);
[~, c(2)] = size(Y);
[~, c(3)] = size(Z);

if (c(1) ~= c(2) || c(1) ~= c(3))
    error('Invalid arguments. Size of all the arguments should be same')
    return
end