Oversampling factor parameter for fsk modulation with gaussian shaping filter

4 views (last 30 days)
Hello,
I have been playing around with fskmod with gaussdesign (e.g., fsk modulation and filtering with a gaussian shaping filter) where both functions requires oversampling factor, i.e., nsamp for fskmod and sps for gaussdesign. I wonder what am I supposed to set if I only need oversampling by 2? What am I supposed to do if I want to set the oversampling in gaussdesign not in fskmod?
JK

Accepted Answer

Pooja Kumari
Pooja Kumari on 22 Sep 2023
Dear Jay,
It is my understanding that you wanted to learn about oversampling factor parameters to be chosen to have oversampling by a factor of 2 in FSK modulation and gaussian shaping filter.
If you only want to achieve oversampling by a factor of 2 in “fskmod” function, you can set the ‘nsamp’ parameter to 2. This means that each input symbol will be represented by two samples in the output waveform. You can refer to the below documentation for more information on “fskmod” function:
If you want to set the oversampling factor specifically in “gaussdesign” function and not in “fskmod”, you can use the ‘sps’ parameter in “gaussdesign” which determines the oversampling factor for the Gaussian shaping filter.
To achieve the same oversampling factor of 2, you can set the ‘sps’ parameter to 2 in “gaussdesign”. This will result in the shaping filter generating two samples for each input symbol. Additionally, ensure that the ‘nsamp’ parameter in “fskmod” is set to 1 when using “gaussdesign” to control the oversampling factor. You can refer to the documentation below for more information on “gaussdesign” function:
I hope this helps you in achieving oversampling by a factor of 2.
Regards,
Pooja Kumari
  3 Comments
Pooja Kumari
Pooja Kumari on 27 Sep 2023
Edited: Pooja Kumari on 27 Sep 2023
Hello Jay,
One possible solution is to perform oversampling by a factor of 2 in "fskmod" by setting "nsamp" to 2. Then, you can apply a downsampling operation after the FSK modulation to achieve the desired overall oversampling factor of 2.
You can use a downsampling factor of 2 to reduce the number of samples in the waveform generated by "fskmod" by half. This downsampling operation will effectively achieve the desired overall oversampling factor of 2.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!