Ok Sir.

I am getting this error as:

Unrecognized field name “sol”.

Error in cvx_mosek

Error in cvxprob/solve (line 435)

[ x, status, tprec, iters ] = shim.solve( At, b, c, cones, quiet, prec, solv.settings, eargs{:} );

Error in cvx_end (line 88)

solve( prob );

Error in Opt_power_beamforming (line 226)

cvx_end

MATLAB code has given as follows:

% Modern optimization solver

cvx_solver mosek

```
% Solving problem (P4)
cvx_begin quiet
variable w_k_opt(Mr_rec,K) complex
% Compute objective function (eq.11)
[obj_Rxbeam] = objective_Rxbeam(K,w_k_opt,h_theta,P_rand,g_theta,h_s_i,v,sigma_sqr_t,sigma_sqr,a_k,b_k);
obj = obj_Rxbeam;
maximize real(obj)
% constraints
% Individual Rate constraint (QoS) (eq.15)
% for k=1:K
% %n = pow_pos((norm(w_k_opt(:,k)'*h_theta(:,k))),2)*P1(k);
% f=zeros(1,1);
% for mm=1:K
% if mm~=k
% f= f + pow_pos(norm(w_k_opt(:,k)'*h_theta(:,mm)),2)*P_rand(mm);
% %b1(:,k) = b;
% end
% end
% c1 = pow_pos(norm(w_k_opt(:,k)'*g_theta*v),2);
% d1 = pow_pos(norm(w_k_opt(:,k)'*h_s_i*v),2);
% e1 = pow_pos(norm(w_k_opt(:,k)'),2);
%
% (2^(R_min)-1)*( f + c1*sigma_sqr_t + d1 + e1*sigma_sqr)...
% <= (2*real ( w_k_initial(:,k)'*h_theta(:,k)*h_theta(:,k)'*w_k_opt(:,k))...
% - norm ( w_k_initial(:,k)'*h_theta(:,k) )^2 ) *P_rand(k);
%
% end
cvx_end
```