m=16; n=8;
A=randn(m,n);
b=randn(m,1);

cvx_begin
variable x(n)
minimize( norm(A*x-b))
subject to
x<=1;
x>=0;
cvx_end