Addition of 2 matrices
C = CL_addm(A, B)
Add 2 matrices (or hypermatrices) with different sizes.
The matrices (or hypermatrices) are first expanded so that if the size in one dimension is 1, the values are duplicated to match the maximum size between the 2 matrices (or hypermatrices) in that dimension.
If A or B is [], the result is [].
Notes:
- The function works for matrices or hypermatrices of any size.
Matrix or hypermatrix (NxPx... or 1xPx... or Nx1x... etc...)
Matrix or hypermatrix (NxPx... or 1xPx... or Nx1x... etc...)
Result (NxPx...)
CNES - DCT/SB