MATLAB Answers

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

  0 Comments

Sign in to comment.

More Answers (0)


Translated by