The attached simulink file is a very simple model of a signal source with a scope and spectrum analyser attached.
The signal source produces a constant value of 1 over the entire simulation time. The spectrum analyser has been setup with a HANN window.
From the spectrum analyser you can see...