Hello,

Im working my thesis on an energy disaggregation problem via powerlets and i want CVX for a sparse matrix.Now im new in CVX and after reading many forums here i wonder if what i want is even possible.This is my code so far:

cvx_begin

```
variable Z(a,b) sparse
for i = 1 : 98 :2
minimize((g *norm(Z(i,:),Inf))+ (gg * norm(Z(:,i)-Z(:,i+1))) + (trace(D'*Z)))
subject to
Z >= 0
A'*Z==B
end
```

cvx_end

Is there is a way to define a sparse matrix via cvx?

Thanks