What are the units of measure of FFT elements?
Can I just set higher elements to zero to filter out higher frequencies? It looks like no.
>> x=0:0.1:10;
>> y=sin(x);
>> f=fft(y);
>> plot(real(f))
gives

which shows, that FFT contains not one peak for clear sinusoid.
If I set to zero upper half of FFT
>> f2=f;
>> f2(1,50:end)=0;
>> y2=ifft(f2);
>> plot(x,y,'-',x,y2,'x')
I get

the same sinusoid with lesser amplitude.
My questions are:
1) what are additional peaks in FFT for pure sinusoid?
2) aren't they relate with moire?
3) how to clear unneeded frequencies from FFT by zeroing elements?
Hint 1: By default the fft function in MATLAB starts indexing at 0. In order to get an accurate plot, use the fftshift function.
Hint 2: The deltas of the Fourier transform of a sinusoid come in complex conjugate pairs.