lstrz / dsss-illustrated Goto Github PK
View Code? Open in Web Editor NEWDirect Sequence Spread Spectrum illustrated
Direct Sequence Spread Spectrum illustrated
New to all of this but had to fix one line to get this project to run in Python 2.7
time_start and time_end need to be float, as is they are integers. If you change time_start = 0 to time_start = 0.0 and time_end = 1.0 / message... this has fixed the problem and allows code to work.
Its more than question than issue. Can we use this to generate CDMA signal ? If yes than which one is better OFDM or CDMA ?
What if i want to just do a simulation on lower frequency let's say 25KHz I had tried with the code already it looks like the coarse_acquisition_code_signal
is calculated incorrectly . Here is the case test run :
This is coarse_acquisition_code_frequency : 2500.0
Base frequency: 25000
Carrier frequency: 175000
CA code frequency: 2500.0
Message frequency: 500
Reference frequency: 32000
Reference multiplier: 5
Mixer frequency: 160000
Intermediate frequency: 15000
Filter bandwidth: 4000
Sampling frequency: 68000.0
Carrier done.
CA code done.
Message done.
message_signal.shape = (48972,)
carrier_signal.shape = (48999,)
(coarse_acquisition_code_signal.shape = (0,)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-24-2baee26d4572> in <module>
320 print(coarse_acquisition_code_signal)
321
--> 322 output_signal = message_signal * carrier_signal * coarse_acquisition_code_signal
323 print("Output done.")
324
ValueError: operands could not be broadcast together with shapes (48972,) (48999,)
I may be wrong somewhere. Can you please explain how can i calculate relative reference frequency and sampling rate ? Do we need intermediate frequency at all ? Can i just by pass those ?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.