Matrix power using mod
Matrix power using mod
(OP)
Hi!
I'm new to matlab, and I've got the following problem:
I would like to raise a Matrix to a large power. In each step of the calculation I want to use mod. I didn't find a function such as modpow() for Matrices. How can I solve this problem?
I'm new to matlab, and I've got the following problem:
I would like to raise a Matrix to a large power. In each step of the calculation I want to use mod. I didn't find a function such as modpow() for Matrices. How can I solve this problem?




