From Matlab to Python — a mini-guide for DSP engineers
Practical steps and runnable examples to migrate signal‑processing code from Matlab to Python, with tips for testing, performance, and reproducibility.
Signal Processing for Communication Systems
Practical steps and runnable examples to migrate signal‑processing code from Matlab to Python, with tips for testing, performance, and reproducibility.
What EVM measures on a constellation, %RMS vs dB forms, and how EVM relates to SNR — with the EVM↔SNR tool.
Let’s see how to design a simple digital FIR filter to reject unwanted frequencies in an incoming signal. As a per-requisite, I urge you to read through this post: Introduction to digital filter design Background on transfer function The transfer function of a system provides the underlying support for ascertaining vital system response characteristics without … Read more
Key focus: Develop basic understanding of digital filter design. Learn about fundamentals of FIR and IIR filters and the design choices. Analog filters and digital filters are the two major classification of filters, depending on the type of signal signal they process. An analog filter, processes continuous-time signal analog signals. Whereas, digital filters process sampled, … Read more
Key focus: Let’s demonstrate basics of univariate linear regression using Python SciPy functions. Train the model and use it for predictions. Linear regression model Regression is a framework for fitting models to data. At a fundamental level, a linear regression model assumes linear relationship between input variables ($latex x$) and the output variable ($latex y$). … Read more
Key focus: Generating simulated dataset for regression problems using sklearn make_regression function (Python 3) is discussed in this article. Problem statement Suppose, a survey is conducted among the employees of a company. In that survey, the salary and the years of experience of the employees are collected. The aim of this data collection is to … Read more
Often the most basic step in signal processing of audio files, one would like to visualize an audio sample file as time-series data. Audio sounds can be thought of as an one-dimensional vector that stores numerical values corresponding to each sample. The time-series plot is a two dimensional plot of those sample values as a … Read more
FFT Lab path:Complex DFT, bins & fftshift → Magnitude & phase → Spectral leakage → Plot: Matlab / PythonTool: FFT bin frequency & resolution calculator Key focus: Learn how to plot FFT of sine wave and cosine wave using Python. Understand FFTshift. Plot one-sided, double-sided and normalized spectrum using FFT. Introduction Numerous texts are available … Read more
Analytic Signal Lab (same on every page in this path) 1. Hilbert / FFT → 2. Envelope & IF → 3. Phase demodulation (you are here) Tools: Hilbert / analytic signal demo Key focus: Demodulation of phase modulated signal by extracting instantaneous phase can be done using Hilbert transform. Hands-on demo in Python & Matlab. … Read more
Extract amplitude envelope, instantaneous phase, and instantaneous frequency via the analytic signal — practical Hilbert/FFT notes.