Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem in FSK modem code

Status
Not open for further replies.

Somia

Newbie level 2
Newbie level 2
Joined
Aug 4, 2005
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,303
fsk modem

Hi

I got this matlab code which is for FSK modulation and demodulation. It works fine for the default values of
Carrier_Freq = 1750
Freq_Deviation = 100
Sampling_Freq = 9600
Symbol_Rate = 300

But when I change these values it gives error while demodulating.
My required values are:

Carrier_Freq = 1700
Freq_Deviation = 400
Sampling_Freq = 8000
Symbol_Rate = 1200

These are actually the values of V.23

Can anyone please take a look at this code and tell me where the problem is. I am totally new to matlab and I am trying to learn it by myself, that's why I can't figure out much myself.

the zip file contains 7 matlab files. FSK_System.m is the top level system wrapper file. User can change parameters of both Modulator and Demodulator from FSK_Mod_init.m and FSK_Dmod_init.m files respectively.

Thanks in advance
Somia
 

fsk modem matlab

Hi Somia,
I tested your signal, it had a small bug.
sampling frequency to symbol rate ratio must be integer. e.g. if you want to keep sampling frequency in 8000 you can specify 8000/6 = 1333 or 8000/5 = 1600 to symbol rate.
Hope these helps.
Regards.
 

    V

    Points: 2
    Helpful Answer Positive Rating
matlab fsk modem

Hi i downloaded your code. it includes sevem .m files but only 5 are being used what the other two(timiing recovery &timing recovery2) are supposed to do. i wonder if you could help me in my project i want to decode fsk modulated caller id.
When i demodulate the signal i must see the numbers.
Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top