Skip to content

Instantly share code, notes, and snippets.

@gam0022
Created September 12, 2012 13:16
Show Gist options
  • Save gam0022/3706523 to your computer and use it in GitHub Desktop.
Save gam0022/3706523 to your computer and use it in GitHub Desktop.
function [] = q3_3(m)
x = linspace(-40*pi,40*pi,1000);
y = 0;
for j = 0:m
y = y + sin(1/(1+j/50)*x);
end
plot(x,y);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment