Giter VIP home page Giter VIP logo

cdma-simulation's Introduction

Simulation of CDMA communication system

This program simulates a basic CDMA communication system using Matlab. It includes the following components:

Diagram

cdma.m is the main file.

Components and options

Input voices

Four .wav files to simulate four users (variables x1, x2, x3 and x4). The program plots these input signals.

Quantization

This program plots the first input signal with the levels of quantization and the quantized signal.

nivel: the number of levels for quantization.

opcion: quantization processes. Available options:

  • 1 - Uniform
  • 2 - Mu-Law
  • 4 - A-Law

errorcuantizacion: quantization error.

Multiple Access

opt: type of code for CDMA access. Available options:

  • 1 = Orthogonal (Synchronous)
  • 2 = Random (Asynchronous)

gp: GP value for correlation matrix.

Modulation

BPSK modulation is performed.

AWGN Channel

This module simulates a AWGN channel where noise is added to the communication.

ebno: Eb/N0. It is the energy per bit to noise power spectral density ratio. Value between 1 and 10, where 10 is for the least noisy channel.

Output

BER Curves

This module uses a loop in order to simulate an AWGN channel with several Eb/N0 values (between 1 and 10)m and it plots the BER curve for the selected voice.

Demodulation and the division of users are performed in this loop.

errorpe: probability of error. It gives the average rate of occurrence of decoding errors.

Final message

You can either select to play one user voice or all users voices. The program plots the output signal.

Graphs

Plots

Acknowledgements

This program was developed during the communication course "Comunicación y codificación digital" at Universidad de las Fuerzas Armadas ESPE.

cdma-simulation's People

Contributors

flandrade avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cdma-simulation's Issues

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.