The following piece of code lies between cvx_begin and cvx_end

```
for m=1:M
N = find(1:M ~=n);
intf = [1;diag(((reshape(H(:,N),T,[])).')*(W(:,N)))];
G(iUser)=abs(H(:,m).'*W(:,m))^2/((norm(intf))^2);
end
```

I am getting the following error:

Error using cvx/pow_cvx (line 142)

Disciplined convex programming error:

Illegal operation: {convex} .^ {2}

(Consider POW_P, POW_POS, or POW_ABS instead.)

Can I write it differently?