Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t = -4*pi:.01:4*pi;
- a = sin(t);
- a(a <= 0) = 0;
- plot(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement