Why with even numbers the sin looks completly different that with odd number
Show older comments
Hello!! I am plotting an easy sin function but I dont understand why when the variable delta is 0.2 0.4 0.6 and so on I get a perfect sin, but on the other hand when I plot it with delta 0.1 0.3 0.5 I get a diffrent plot. I think has to be something with the modulation. Here is goes the code
f=linspace(0.1,10e6);
delta=0.2;
y=sin(pi*f.*delta);
plot(f,y)
Thanks a lot Nicolas
Accepted Answer
More Answers (1)
Image Analyst
on 15 Mar 2012
0 votes
Welcome to the realities of subsampling and aliasing:
Categories
Find more on Expansion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!