z = sdpvar(2400,1);
solvesdp([r*eye(M)>=0 reshape(psi'*z,M,K)>=0 ; (reshape(psi'*z,M,K))'>=0 r*eye(K)>=0],0.5*z'*z - real(y'*z),sdpsettings('solver','sdpa'));value(z)
in the settings i have given solver as 'sdpa' , but matlab is giving warning: that solver is not found. I have added the path of solver anyway. Do I have install sdpa solver externally..
Please clarify, am new to this.