Giter Site home page Giter Site logo

dsss-illustrated's People

Contributors

lstrz avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dsss-illustrated's Issues

Basic definations in the spread sprectrum

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.