What is wrong with my Function of raising matrix to n power, it always shows as #value

Tianqi Chen 1 Reputation point
2021-03-09T13:38:18.587+00:00

![75868-image.png][1] [1]: /api/attachments/75868-image.png?platform=QnA

Office Visual Basic for Applications
Office Visual Basic for Applications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Visual Basic for Applications: An implementation of Visual Basic that is built into Microsoft products.
1,501 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Viorel 120.4K Reputation points
    2021-03-10T08:59:39.46+00:00

    Maybe replace tempmatirx with tempmatrix.

    By the way, it is usually convenient to paste the code as a text.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.