Error using sparse
Index exceeds array bounds.
Error in pretransfo (line 468)
dblks = cumsum(full(sparse(1,bstrt,1,1,sdpL)));
Error in sedumi (line 261)
[A,b,c,K,prep,origcoeff] = pretransfo(A,b,c,K,pars);
Error in cvx_run_solver (line 50)
[ varargout{1:nargout} ] = sfunc( inputs{:} );
Error in cvx_sedumi>solve (line 245)
[ xx, yy, info ] = cvx_run_solver( @sedumi, At, b, c, K, pars, ‘xx’, ‘yy’, ‘info’, settings, 5 );
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 Optimization_ome_SDPCCP (line 98)
cvx_end
Error in Main_Convergence (line 171)
[ome_opt,X_opt,SNR_BS] = Optimization_ome_SDPCCP(EdeltaS,r_max,Delta_theta,Delta_phi,lamda,theta_S,phi_S,HBR,h_RK1,h_RK2,h_RK3,h_BK1,h_BK2,h_BK3,sigma_BS,sigma_UE,Ptx,M,Nx,Ny,wc_in,ws_in,wrx_in,ome_in,d,accu,gamma);