MATLAB Answers

Generate GPS signal in MATLAB?

64 views (last 30 days)
Kevin on 1 Jun 2018
Commented: Walter Roberson on 21 Jan 2019
Hi everything,
Is it possible to generate GPS signal in MATLAB? I know nothing about the signal structure of the GPS signal. Is there a GPS toolbox that can do this?
Once I get the IQ samples of the GPS signal, then I plan to actually transmit the signal over the air to a phone.


Show 2 older comments
Kevin on 1 Jun 2018
I think you guys are thinking too highly of me. I don't have the money nor ambition to put up a transmit antenna to transmit GPS signal (either to do good or bad to general public).
Sakina Jafferi
Sakina Jafferi on 21 Jan 2019
How to generate a GPS signal in MATLAB?
what steps should be followed to write a code for it...???

Sign in to comment.

Answers (1)

Kevin on 1 Jun 2018
Hmm, I have not thought about the legal matter.
Yes, I want to spoof a GPS signal. What if I just do it in a basement and the tx power is very low and so it won't affect anyone outside the house. The tx power is so low that I don't think a phone in the ground floor will even get affected.


S Joshi
S Joshi on 27 Jun 2018
Hey Kevin,
Did you end up finding an answer for this? I'm not interested in doing an over-the-air experiment, but I'd be interested in simulating to first order a GPS signal.
Kevin on 27 Jun 2018
No. No one posts an answer.

Sign in to comment.