function [c] = OneCycleSinspace(a, b, n) c = zeros(1, n); ind = [0:2*pi/n:2*pi]; for i=1:n c(i) = a + (b-a)*sin(ind(i)); end return;