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: pwrbal3.m
    path of file: ./repos/jigsaw-matlab/tools/orthoball
    
    the code of the file until where you have to start completion: function [bb] = pwrbal3(pp,pw,tt)
%PWRBAL3 compute the ortho-balls associated with a 3-simplex
%triangulation embedded in R^3.
%   [BB] = PWRBAL3(PP,PW,TT) returns the set of power balls
%   associated with the triangles in [PP,TT], such that BB =
%   [XC,YC,ZC,RC.^2]. PW is a vector of vertex weights.

%   Darren Engwirda : 2017 --
%   Email           : d.engwirda@gmail.com
%   Last updated    : 20/06/2018

%---------------------------------------------- basic checks
    if ( ~isnumeric(pp) || ...

    
function [bb] = pwrbal3(pp,pw,tt)
%PWRBAL3 compute the ortho-balls associated with a 3-simplex
%triangulation embedded in R^3.
%   [BB] = PWRBAL3(PP,PW,TT) returns the set of power balls
%   associated with the triangles in [PP,TT], such that BB =
%   [XC,YC,ZC,RC.^2]. PW is a vector of vertex weights.

%   Darren Engwirda : 2017 --
%   Email           : d.engwirda@gmail.com
%   Last updated    : 20/06/2018

%---------------------------------------------- basic checks
    if ( ~isnumeric(pp) || ...
         ~isnumeric(pw) || ...
         ~isnumeric(tt) )
        error('pwrbal3:incorrectInputClass' , ...
            'Incorrect input class.');
    end