y = (2*x1 + x2 + randn(size(x1))) > 1;. % visualize the data figure; hold on; h1 = scatter(x1(y==0),x2(y==0),50,'k','filled'); % black dots for 0.
確定! 回上一頁