code: def matrix(*args, **kwargs):
      with warnings.catch_warnings(record=True):
          warnings.filterwarnings(
              "ignore",
              ".*the matrix subclass is not the recommended way.*",
          )
          return np.matrix(*args, **kwargs)
  
imports: from __future__ import division, print_function, absolute_import
  import operator
  import warnings
  import numpy
  from scipy._lib._version import NumpyVersion
label_desc: Use image node_id 18 for calling a global function with example usage: matrix() and returns: np