matrix exponential's, both base and exponent are matrix

3 views (last 30 days)
Hi, Is there are simple way to find the exponential when both base and exponent are matrices. Currently I am using a loop.

Answers (1)

Walter Roberson
Walter Roberson on 31 Aug 2015
If the matrices are the same size and you want to take corresponding elements, then use
base.^exponent
  6 Comments
Walter Roberson
Walter Roberson on 31 Aug 2015
I don't know, John, but there's probably an application for it in String Theory anyhow ;-)
John D'Errico
John D'Errico on 31 Aug 2015
I tried reading about string theory once, but I kept losing the thread. I got all tangled up in knots.

Sign in to comment.

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!