TheOmegaMat = MIMO_ML_CalcOmegaMat(x, MaxOrder) Output parameters TheOmegaMat = matrix of powers of x, size: F x MaxOrder Input parameters x = vector of (jwk), sqrt(jwk), or (zk^-1) values, size: F x 1 MaxOrder = largest power of x to be calculated Copyright (c) Rik Pintelon, Vrije Universiteit Brussel - dept. ELEC, November 2009 All rights reserved. Software can be used freely for non-commercial applications only.
0001 function TheOmegaMat = MIMO_ML_CalcOmegaMat(x, MaxOrder); 0002 % 0003 % TheOmegaMat = MIMO_ML_CalcOmegaMat(x, MaxOrder) 0004 % 0005 % Output parameters 0006 % TheOmegaMat = matrix of powers of x, size: F x MaxOrder 0007 % 0008 % Input parameters 0009 % x = vector of (jwk), sqrt(jwk), or (zk^-1) values, size: F x 1 0010 % MaxOrder = largest power of x to be calculated 0011 % 0012 % 0013 % Copyright (c) Rik Pintelon, Vrije Universiteit Brussel - dept. ELEC, November 2009 0014 % All rights reserved. 0015 % Software can be used freely for non-commercial applications only. 0016 % 0017 0018 for ii = 0:MaxOrder 0019 TheOmegaMat(:,ii+1) = x.^ii; 0020 end