GithubHelp home page GithubHelp logo

arasgungore / pcm-and-dm-modulators Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 0.0 760 KB

A Python/MATLAB project which implements pulse-code modulation (PCM) and delta modulation (DM).

License: MIT License

Jupyter Notebook 93.63% MATLAB 6.37%
communication-engineering delta-modulation jupyter-notebook matlab modulation modulation-techniques pulse-code-modulation quantization quantizing signal-modulation signal-processing nyquist sampling sampling-frequency signal signals communication communications course-project telecommunication

pcm-and-dm-modulators's Introduction

PCM-and-DM-modulators

A Python/MATLAB project which implements pulse-code modulation (PCM) and delta modulation (DM).

This project was assigned for the Communication Engineering (EE 374) course in the Spring 2022 semester. For reference, check out the instructor of this course, Ali E. Pusane's implementation of delta modulation (DM) in Python.

Run on Terminal

matlab -nodisplay -nosplash -nodesktop -r "run('main.m');exit;"

Description

Consider the message signal m(t) = −cos(200πt) + sin(50πt).

  • Task 1: Pulse Code Modulation: Consider the message signal m(t) for the time interval (0,2) seconds. Obtain the pulse code modulated binary sequence if the signal is sampled at the Nyquist sample rate and L=128 quantization levels are used. You can start labeling the quantization labels from the top. The first sample is taken at t=Ts. Your code should display the binary representation of the first 10 samples on the screen, in the format “0110011-1010010-... ”.
  • Task 2: Delta Modulation: Consider the message signal m(t) for the time interval (0,2) seconds. Obtain the delta modulated binary sequence if the signal is sampled at four times the Nyquist sample rate. The first sample is taken at t=Ts. Your code should display the binary representation of the first 20 samples on the screen.

Figures

Delta Modulation (DM)

Python

Figure

MATLAB

Figure

Author

👤 Aras Güngöre

pcm-and-dm-modulators's People

Contributors

arasgungore avatar kodlayanfahriye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.