Giter VIP home page Giter VIP logo

ofdm-sim's Introduction

OFDM-Sim

A quick MATLAB simulation of an OFDM communications system. The script was written in MATLAB to facilitate it getting running quickly as an OFDM refresher exercise. As such, I didn't take any particular efforts to keep this code as clean as I normally do. However, if you're here to learn about OFDM systems, this code should work nicely for your purposes.

The system works by generating a pulse vector and a random bit stream. I've included several pulse generation scripts, but I use the root raised cosine pulse in the simulation (https://en.wikipedia.org/wiki/Root-raised-cosine_filter). The bit stream is either subjected to either an IFFT or FFT depending on whether we're dealing with the transmitter or receiver. The root raised cosine pulse is applied to the result to form the baseband signal. The main advantage is to doing this is that once you take into account the sending and receiving ends, the spectrum is that of a raised cosine, which is one of several options that result in no intersymbol interference. There are two carriers that can convey +1 and -1, resulting in QPSK.

The script outputs several plots to show experimental and theoretical results. These include the spectrum of the signal and bit error rates as a function of SNR. You can also see the signal at various points in the system, which might be educationally useful to someone down the road.

ofdm-sim's People

Contributors

mattsybeldon avatar

Stargazers

 avatar Timothy avatar

Watchers

 avatar

Forkers

ganlubbq

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.