File Exchange

image thumbnail

Simulink Model of Bluetooth Modulation and Frequency Hopping

version (14.7 KB) by Vamsi K
Bluetooth modulation and frequency hopping


Updated 27 May 2020

View Version History

View License

For the latest features and examples covering classic Bluetooth, BLE and BLE mesh refer to -

Simulink® model of a simple Bluetooth® wireless data link. Includes error correction, GFSK modulation, frequency hopping and a 100MHz channel.
NOTE: A version of this model which works with the current release of MATLAB® and Simulink® is shipped with the Communications Blockset™.

See also:
1) 'Bluetooth Full Duplex Voice and Data Transmission' -

2) 'Bluetooth Voice Transmission' -

Cite As

Vamsi K (2020). Simulink Model of Bluetooth Modulation and Frequency Hopping (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (33)


Thank you for showing interest in Bluetooth capabilities from MathWorks. We are supporting the Bluetooth features and examples ( including BR, EDR and low energy) part of add-on "Communications Toolbox Library for the Bluetooth Protocol".

If you have any specific use cases and requirements, kindly share with us.

Thank you.

Lee Johannes

1.since randint removed change randint(1,100,78) to
2.the delay change to algorithm to fram based


Stuart McGarrity

Hi Christopher, I'm sorry, but it has been too long since I worked on this for me to be helpful. Our consulting group may be able to help. Good luck.

Christopher Kellar

Would you be willing to provide some insight on how to modify this model to work as a BLE 5.0 radio? I would really appreciate some assistance.

chirag prajapat

good work .. can you add input from keyboard instead of binary input and encryption and decryption with output display . this will be great

Ganesh Reddy

Brian Munoz

me interesa , la simulación de la version 2.0 + EDR la cual corresponde a modulaciiones pi/4 PSK y 8 DPSK, si alguien a obtenido las curvas de BER vs EbNo para estas modulaciones, se lo agradeceria.


I'm looking to simulate with the modulation types specified in Bluetooth 2.0, which are 4 and 8-ary PSK. Has anybody seen updated models to accommodate the more recent standard?

Lucas Alves da Silva

I was wondering if this model takes all the 80 Bluetooth channels into account or just 79, since the M-ary FSK [de]modulator is set by default at 79 (at least in my downloaded model). Also, wouldn't it be more appropriate to use bigger value for the second randint argument, since 100 may not be enough to spread over all the channels? I'm using 99999. Thanks a lot for the model, it is quite useful !!

Dhanuka Abeysekera

In above bluetooth simulation How to analyze the signal levels in different differnt levels ( example signal between Bernouli Binary generator cyclic encoder ) . I am used scope to analyze siganl levels but it gives differnet ....differnt errors .....

If any one know how to do this pls send me a mail as soon as possiable ...

E-mail :

Thank you.


Is it possible to calculate BER vs SNR with this model. Any help will be greatly appreciated.
please mail me to


sunil walanju

this is very useful.

riama idauli

Haining Fan

rohin rahul

I was wondering if i could use the same program, but instead of bluetooth modulation, erform BPSK. I require frequency hopping though.

Ali Al-Shehhi

Evan Zen

That's great ,But,How could I import this Model to Matlab/simulink function ??

because I can't open this model into the program

please tell me about this more detail information!! thanks!

andrea lustig


anrea lustig

zhang zhigao


ezre rezrez


jordan conus

802.11b = bluetooth

heliodoro mundlovo


For education purposes

Sosa Florin

I am interested in 2 problems with thismdl:
1)How can I modify the sample time for the bernoulli data source(let's say 1/50/384)because a lot of errors occurs when I do this
(and I tried in many way)
2)How can I implement multiple users but their hops to not get interference(an idea at least please)

Shivakumar Araballi

Jerzy Gremba

sami A. Mostafa

Brett Mason

Really great tool! I really recommend using this if your working in this area!


Very Good.
There is a need to look at power consumption however.

Sri Viswanathan

Great!!Very useful!!

Ergang Zhu

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

R12.1 Original Version