Use again bsxfun, but position the exponents ( b) in the third dimension:
A = [1, 2 3; 4 5 6];
b = 1:10;
C = bsxfun(@power, A, permute(b(:), [2 3 1]));
As a result, you get a 3D array (in this case 2x3x10).
If the metrics are sequential values, the following code may be faster:
n = 10; %// compute powers with exponents 1, 2, ..., n
C = cumprod(repmat(A, [1 1 n]) ,3);
source
share