This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x =(1:4); y=(5:9);
M=[1, 1,1,1,1;32,64,128,256,512;243,729,2187,6561,19683;1024,4096,16384,65536,262144];
assert(isequal(pow_mat(x,y),M))
ans =
1 1 1 1 1
32 64 128 256 512
243 729 2187 6561 19683
1024 4096 16384 65536 262144
|
Find the numeric mean of the prime numbers in a matrix.
6782 Solvers
2811 Solvers
724 Solvers
Generate a string like abbcccddddeeeee
234 Solvers
Output any real number that is neither positive nor negative
316 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!