-
It is required to modulate three speech signals using the following scheme:
and then perform synchronous demodulation. -
Then do the following operation:
- Obtain the modulated signal. Plot it in time domain. Plot its magnitude spectrum
- Perform synchronous demodulation to restore the three signals.
- Perform demodulation three times with phase shifts of 10, 30, 90 degrees for both carriers.
- For x_1 (t), perform demodulation two times with a local carrier frequency that is different by 2 Hz and 10 Hz from its carrier frequency.
- Project Description
- Clone the repository.
git clone https://github.com/ZiadSheriif/SAMA3NY
- Put Inputs in folder
- Run File
- Output will be in folder
cd ./signals
cd ./project.m
cd ./Output_signals
Firstly, we read three signals with different sounds and make them have the same frequency sampling =250000 by make resemble to them and find the length of each one along with max length in-order to be able to sum all modulated signal of each input. We make all audios have the same length by adjusting all of them by adding zero to make have same length. Secondly got time and frequencies intervals. Then we calculated omega (Ο1, Ο2) by Ο=2piconst in frequency domain. Then we got carrier in cos and sin domain Carrier Signal One=cos (2pi Ο1) Carrier Signal Two=sin (2pi Ο2)
Signal 1
|
Signal 2
|
Signal 3
|
---|---|---|
- Calculate modulated signal by multiplying signal and carrier
- Calculate Fourier transform of modulated signal returned from step 1
- Calculate phase of modulated signal returned from step 1
- Sum all modulated signals of all audios
- FFT to summation of modulated signals
- Calculate phase of modulated signals
- Calculate frequency band pass which is used in de-modulation
- Calculate demodulated signal by multiplying carrier and modulation signal
- Calculate low pass filter used frequency sampling.
-
Perform demodulation three times with phase shifts of 10, 30, 90 degrees for both carriers
Note: (before each phase shift calculate carrier phase).
- Perform demodulation two times with a local carrier frequency that is different by 2 Hz and 10 Hz from its carrier frequency.
Note: Interference in sounds between signal 2 and signal 3 when make demodulation to them. Signal 1 become little weaker.
Note: More Interference in sounds between signal 2 and signal 3 when make demodulation to them. Signal 1 become Weaker.
Note: When make demodulation to signal 3 output is signal 2 and make demodulation to signal 2 output is signal3 Signal 1 be equal zero (no sound).
Note: Interference in sounds between signal 2 and signal 3 when make demodulation to them. All signals have been occurred distortion on them.
Note: More Interference in sounds between signal 2 and signal 3 when make demodulation to them. All signals have been occurred more distortion on them.
Ziad Sherif |
Eslam Ashraf |
Note: This software is licensed under MIT License, See License for more information Β©SAMA3NY.