G = [1,5,6,8,2,6,4,3,8,9,7,10,11,6]; for beta = logspace(-3,10,20) %beta = 0.5; SmoothSpline(G,beta); waitforbuttonpress; end