When I ran my program, the error occurred as followed:
Error using * Inner matrix dimensions must agree
in cvxprob/eliminate (line 137)
P = P * cvx_invert_structure( xR );
in cvxprob/solve (line 18)
[ At, cones, sgn, Q, P, dualized ] = eliminate( prob, true, shim.dualize );
in cvx_end (line 88)
solve( prob );
in F_DC_RS (line 73)
where "F_DC_RS" is my script.
Because the complete program is consist of my functions, I can only paste the part that calls CVX toolbox.
variable Q(Nt,2*Nt,N,K) complex
expressions g(1) Gf(1) Psum(N) gc(N,K) fc_s(N,K) ga(N,K) fa_s(N,K) gp(N,K) Gfc Gfa Gfp
where g is cvx concave expression (scalar), f=42.0508 and Gf is cvx real affine expression (scalar).
There is no error before "cvx_end".