Skip to content

Instantly share code, notes, and snippets.

@santiago-salas-v
Created December 10, 2018 23:28
Show Gist options
  • Save santiago-salas-v/39f6abb032217f4d665ae845b5ea56f6 to your computer and use it in GitHub Desktop.
Save santiago-salas-v/39f6abb032217f4d665ae845b5ea56f6 to your computer and use it in GitHub Desktop.
sigma(t-1) * 2 exp(-t) sigma(t) zeichnen
t=linspace(-5,5,30);
plot(...
t,mean(diff(t))*conv(...
heaviside(t-1), 2*exp(-t).*heaviside(t),'same'),...
t,2*heaviside(t-1).*(1-exp(1-t).*heaviside(t-1)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment