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

조회 수: 1 (최근 30일)
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

채택된 답변

Walter Roberson
Walter Roberson 2019년 10월 29일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by