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: umfpack_test2.m
    path of file: ./repos/SuiteSparse/UMFPACK/MATLAB
    
    the code of the file until where you have to start completion: function umfpack_test2
%UMFPACK_TEST2 try all UMFPACK strategies and orderings.
% Requires ssget, CHOLMOD, CAMD, CCOLAMD, COLAMD, METIS.

% UMFPACK, Copyright (c) 2005-2022, Timothy A. Davis, All Rights Reserved.

    
function umfpack_test2
%UMFPACK_TEST2 try all UMFPACK strategies and orderings.
% Requires ssget, CHOLMOD, CAMD, CCOLAMD, COLAMD, METIS.

% UMFPACK, Copyright (c) 2005-2022, Timothy A. Davis, All Rights Reserved.
% SPDX-License-Identifier: GPL-2.0+

Prob = ssget (45) ;
A = Prob.A ;
n = size (A,1) ;
b = rand (n,1) ;

Strategy = {'auto', 'unsymmetric', 'symmetric'} ;
Ordering = { 'amd', 'default', 'metis', 'none', 'given' } ;
Scale = { 'none', 'sum', 'max' } ;

for k1 = 1:length (Strategy)
    for k2 = 1:length (Ordering)
        for k3 = 1:length (Scale)

            strategy = Strategy {k1} ;
            ordering = Ordering {k2} ;
            scale = Scale {k3} ;

            opts.strategy = strategy ;
            opts.ordering = ordering ;
            opts.scale = scale ;

            clear L U P Q R
            L = [ ] ;
            U = [ ] ;
            P = speye (n) ;
            Q = speye (n) ;

            try
                tic ;
                [L,U,P,Q,R] = umfpack (A, opts) ;
                t = toc ;
                lunz = nnz (L+U) ;
            catch
                disp (lasterr) ;
                t = inf ;
                lunz = 0 ;
            end