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

1 vue (au cours des 30 derniers jours)
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

Réponse acceptée

Walter Roberson
Walter Roberson le 29 Oct 2019
B.^A

Plus de réponses (0)

Catégories

En savoir plus sur Electrical Block Libraries dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by