Question: Given the follow code sample, we are suppose to find Dij=Aij^Bii. that is the entries of each row of A raised to the power of
Given the follow code sample, we are suppose to find Dij=Aij^Bii. that is the entries of each row of A raised to the power of B's diagonal matrix. Can someone help to finish this code so this expression D is finished? function [D] = Matrixdp(A,B) A = [ 1 1 1; 2 2 2; 3,3,3] B = [ 1 4 9; 6 2 7; 5,4,3]
end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
