%SIN_COS_DATA: MATLAB script M-file that defines data for 
%the sin-cos regression problem.
x = linspace(0,1,25)';
y1 = [0.3104 0.5731 0.6145 1.1352 1.1389 1.9520 1.6302 1.9172 2.2299 1.7926 3.2763 3.0748 2.8450 3.5375 2.6278 3.0852 2.9781 3.0418 2.8978 2.3663 2.4050 2.1219 2.0891 1.9339 1.6233]';
y2 = [2.6319 2.7028 2.5042 2.4000 2.3534 2.3098 1.8451 1.6919 1.3366 1.1520 0.5946 0.3581 0.0553 -0.2447 -0.5491 -1.0316 -1.5083 -1.7290 -2.0283 -1.9215 -2.4157 -2.4366 -2.6449 -2.6062 -2.7948]';