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: ssCanonControl.m
    path of file: ./repos/LADAC/control/linear_systems
    
    the code of the file until where you have to start completion: function [T_n,A_n,b_n] = ssCanonControl( A, b )
% ssCanonControl transform a state-space representation into the
% controllable canonical from
% 
% Syntax:
%   [T_n,A_n,b_n] = ssCanonControl( A, b )
%
% Inputs:
%   A           system matrix (NxN array)
%   b           input matrix (Nx1 array)
% 
% Outputs:
%   T_n         transformation matrix that satisfies A_n = T_n*A*inv(T_n)
%   A_n         system matrix in controllable canonical form (NxN array)
%   b_n         input matrix in controllable canonical form
% 
% Example:
%   A = rand(4,4)
%   b = rand(4,1)
%   [T_n,A_n,b_n] = ssCanonControl( A, b )
%   A_n == T_n*A*inv(T_n)
% 
% Literature:
%   [1] https://en.wikipedia.org/wiki/State-space_representation#Canonical_realizations
%   [2] Lunze, J. (2010). Regelungstechnik 1. Systemtheoretische

    
function [T_n,A_n,b_n] = ssCanonControl( A, b )
% ssCanonControl transform a state-space representation into the
% controllable canonical from
% 
% Syntax:
%   [T_n,A_n,b_n] = ssCanonControl( A, b )
%
% Inputs:
%   A           system matrix (NxN array)
%   b           input matrix (Nx1 array)
% 
% Outputs:
%   T_n         transformation matrix that satisfies A_n = T_n*A*inv(T_n)
%   A_n         system matrix in controllable canonical form (NxN array)
%   b_n         input matrix in controllable canonical form
% 
% Example:
%   A = rand(4,4)
%   b = rand(4,1)
%   [T_n,A_n,b_n] = ssCanonControl( A, b )
%   A_n == T_n*A*inv(T_n)
% 
% Literature:
%   [1] https://en.wikipedia.org/wiki/State-space_representation#Canonical_realizations
%   [2] Lunze, J. (2010). Regelungstechnik 1. Systemtheoretische
%       Grundlagen, Analyse und Entwurf einschleifiger Regelungen.
%       Springer, Berlin, Heidelberg.
% 

% Disclamer:
%   SPDX-License-Identifier: GPL-3.0-only
% 
%   Copyright (C) 2020-2022 Yannic Beyer
%   Copyright (C) 2022 TU Braunschweig, Institute of Flight Guidance
% *************************************************************************

% [2], eq. (5.75)
S_s = ssControllability(A,b);

sys_order = size(A,2);

pick_last_row = zeros(1,sys_order);
pick_last_row(end