Problem 44707. Raise each element to the power of its index in a matrix
In a matrix, A = [1,2;3,4] raise the power of each element like: 1^1+2^3+3^2+4^4 and add it all to produce the result 274
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers52
Suggested Problems
-
Return the largest number that is adjacent to a zero
5507 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15765 Solvers
-
07 - Common functions and indexing 5
426 Solvers
-
556 Solvers
-
5122 Solvers
More from this Author29
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!