Generate GPS signal in MATLAB?

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.
Thanks
Kevin

7 Comments

Do you mean you want to spoof a GPS signal? Or do you want to generate a GPS track? I'm not sure the former would even be legal.
Generating a GPS signal can be legal: placing a land-based GPS broadcast unit at a fixed location can help get higher resolution, which can be very useful in cases where precision is important, such as ship navigation in reefs, or in measuring land shift due to earthquakes or plate tectonics.
I have no idea what the process is to get an installation such as that approved, though.
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).
How to generate a GPS signal in MATLAB?
what steps should be followed to write a code for it...???
For my final year project i need the data set of gps and spoofed signal . Can Anyone tell me how to get it using mathlab (generation).

"the dataset"? "(generation")? Your question is not clear at all. What exactly do you need? What was provided to you? What did you try? What is your task?

Have a read here and here. It will greatly improve your chances of getting an answer.

Sign in to comment.

Answers (3)

Kevin
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.

2 Comments

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.
No. No one posts an answer.

Sign in to comment.

Imtiaz nabi
Imtiaz nabi on 13 Oct 2021
Hi Kevin, did you manage to execute the GPS/GNSS spoofing algorithm? and conducted the experiement?

Categories

Find more on Aerospace Applications in Help Center and File Exchange

Tags

Asked:

on 1 Jun 2018

Commented:

Rik
on 7 Aug 2024

Community Treasure Hunt

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

Start Hunting!