I ran a cvx code,but the window show me there is a error in this code,but i don’t know why

```
c10_left_hand_up = 0;
sum_10_up = 0;
for j = 1:K
sum_10_up= sum_10_up + h_k{k}' * Fk_up{j} * h_k{k};
end
c10_left_hand_up = real(c10_left_hand_up + sum_10_up+nois_var_ak_2pow(1))*(1-rho_k_up(k))
c10_right_hand_up=hat_p_up
c10_left_hand_up>= c10_right_hand_up
```

Both `Fk_up`

and `rho_k_up`

are variables i define.

`Fk_up{j}`

is the 4 by 4 matrix ,and `rho_k_up(k)`

is a scalar.

Both `real(c10_left_hand_up + sum_10_up+nois_var_ak_2pow(1))`

and `(1-rho_k_up(k))`

are scalar

However,the window show me this error

Error using .* (line 262)

Disciplined convex programming error:

Invalid quadratic form(s): not a square.Error in * (line 36)

z = feval( oper, x, y );Error in op4_Pp_P_TP (line 89)

c10_left_hand_up =real(c10_left_hand

_up +sum_10_up+nois_var_ak_2pow(1))*(1-rho_k_up(k))

Now i just multiply two scalar,why does the window show me `error using .*`

and it seems that i need a `square`

? i don’t understand,can anyone help me?

Both `Fk_up`

and `rho_k_up`

are what i want to know,so i can’t put them in the denominator