I got some problems when I try to implement the following formula. I want to get some help and I will appreciate it.
My problem is mainly about the formula which is related to a(i) and t(i). I do not know how to implement that.
This is my code.
Blockquote
cvx_begin
variable w(n*L) complex
variable t(n)
variable a(n)
expression reweight(n)
for i = 1:n
reweight(i) = a(i) * t(i);
end
minimize(sum(reweight));
subject to
Atar(:,:,f_ref)*w == 1 ; % norm(Pr - w'*S) <= alpha
abs(As(:,:,f_ref)*w) <= deta
abs(U.^(1/2)*V'*w) <= detae;%norm(L'*w) <= cigma
for i = 1:n
a(i)*norm(w((i-1)*L+1:i*L))<=t(i);
end
cvx_end
Blockquote
Thank you for help.