If you define the matrix exponential "with base 2" as B = expm(log(2) .* A), or if you analogously directly define the matrix logarithm "with base 2" via an eigendecomposition with the standard logarithm of base 2 applied eigenvalue-wise, then you can obtain a corresponding base 2 matrix logarithm by dividing by log(2):
If you define the matrix exponential "with base 2" as
B = expm(log(2) .* A)
, or if you analogously directly define the matrix logarithm "with base 2" via an eigendecomposition with the standard logarithm of base 2 applied eigenvalue-wise, then you can obtain a corresponding base 2 matrix logarithm by dividing bylog(2)
: