How to take elements of one matrix as power of the elements of second

1 view (last 30 days)
Hi If I have a matrix A=[2 3; 6 7], B=[4 5; 9 3]
C= [4^2 5 ^3 ;9^6 3^7]
that is [b(1,1)^a(1,1) b(1,2)^a(1,2); b(2,1)^a(2,1) b(2,2)^a(2,2)]
How can I do it in matlab

Accepted Answer

Walter Roberson
Walter Roberson on 29 Oct 2019

More Answers (0)


Find more on Electrical Block Libraries in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by