Skip to content

Instantly share code, notes, and snippets.

@vchekan
Created January 5, 2016 08:27
Show Gist options
  • Save vchekan/d928ff348ff196b25912 to your computer and use it in GitHub Desktop.
Save vchekan/d928ff348ff196b25912 to your computer and use it in GitHub Desktop.
x=arange(0,24,0.1);
y=cos(pi*x/12)*10;
sigm=1/(1+exp(-y))*120+0.005;
plot(x,sigm);
grid();
show();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment