Skip to content

Instantly share code, notes, and snippets.

Last active April 28, 2016 05:39
What would you like to do?
% Plotting take 1
x = 1e-2:1e-2:100;
% Smooth curves
y1 = exp(-x);
y2 = 1-exp(-x);
% Noisy curves
n = length(x);
z1 = y1.*(1+0.005*randn(1,n));
z2 = y2.*(1+0.005*randn(1,n));
xlabel('Time [s]');
ylabel('Exponential Observation');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment