Please, help me interpret my Simulink simulation of AM. Why does carrier not appear in the spectogram?

Carrier is 2 * pi * 25, modulating signal is 2 * pi, all the amplitudes are 1s and zero phase.

I realized that I could add a sine wave right at the end. I get a carrier in frequency domain, but my signal in time domain looks strange.  • what's the frequency of your carrier and of your modulator ? Mar 18 '20 at 20:50
• @Hilmar, I have added information in the post.
– Alex
Mar 18 '20 at 20:53
• Can you confirm that the frequencies you gave are in herz? If your carrier has frequency 25 Hz, I would sample much slower than your 5 kHz -- maybe at 250 Hz.
– MBaz
Mar 18 '20 at 21:46
• @MBaz Frequencies are in radians/second. I changed sampling frequency to 250 HZ for both signals. There is no change. I think it should not affect signal anyway unless I do undersampling.
– Alex
Mar 18 '20 at 22:51
• Can you see the carrier using the scope?
– MBaz
Mar 19 '20 at 0:20

I see how you added the carrier by multipying by $$1 + 0.5cos(2\pi f t)$$ (or you used sine, wouldn't change it), and that approach seems fine to me.
It looks like you do actually see the carrier in your plot! What I see from your plot does appear to be a signal at +/-25 Hz which is what we would expect to see for $$cos(2\pi 25 t)$$ (or sine if you used that)
To increase the resolution bandwidth, you need to increase the total simulation time (which would increase the number of points in the FFT if you keep the same sampling rate, or you could decrease the sampling rate with the same number of samples or do both). Resolution bandwidth is approximately the inverse of the simulation time, but that bandwidth would be increased further than $$1/T$$ if you are using windowing in the FFT. From the plot it does not look like windowing is used, in which case your simulation duration would be predicted to be $$1/4.88$$ Hz or $$204.9$$ ms. With your sampling rate of $$5$$ KHz this would suggest $$1024$$ samples. (It may be a sliding FFT block size over 1024 samples as I also see T = 10s). Thankfully your plot tells you what the bandwidth is so just increase the total FFT size, decrease your sampling rate or both --to see your $$1$$ Hz sidebands clearly you should make the resolution bandwitdth on the order of $$0.1$$ Hz.