Skip to main content

Orthogonal Matching Pursuit (OMP) in Compressive Sensing


Orthogonal Matching Pursuit (OMP) in Compressive Sensing

1. Introduction

Compressive Sensing (CS) aims to recover a sparse signal from a small number of measurements. In many systems, the measurement process can be expressed as:

y = Q hb + n

where:

  • y: Measurement vector (observed data)
  • Q: Known sensing matrix or dictionary
  • hb: Sparse vector (unknown signal to estimate)
  • n: Noise

Orthogonal Matching Pursuit (OMP) is a greedy algorithm that reconstructs hb by iteratively selecting the columns of Q that best match the measurements y.



2. OMP Algorithm Overview

The OMP process proceeds as follows:

  1. Initialization: Set residual r(0) = y and selected index set S = ∅.
  2. Correlation: Compute correlations of all columns with the current residual:
    ci = qiT r(k)
  3. Select: Choose the column with the maximum absolute correlation:
    i(k+1) = argmax |ci|
  4. Update Support: Add the selected index to the set S.
  5. Least Squares Estimate: Solve for the coefficients of the selected columns:
    hb(k+1) = (Q(S)T Q(S))-1 Q(S)T y
  6. Residual Update:
    r(k+1) = y - Q(S) hb(k+1)
  7. Stopping Criterion: Stop when the residual norm is small or when the desired sparsity level is reached.


3. Example from Slides

Consider the example matrix:

Q = ⎡1 0 1 0 0 1⎤
⎡0 1 1 1 0 0⎤
⎡1 0 1 0 1 0⎤
⎡0 1 0 1 1 1⎤

and measurement vector:

y = [0 2 3 5]T

Iteration 1

  • Compute correlations c = QTy.
  • The column with the largest correlation is q5, so i(1) = 5.
  • Estimate coefficient using least squares with Q(1) = [q5].

Iteration 2

  • Compute new residual r(1) and new correlations.
  • Next selected column: i(2) = 2.
  • Submatrix:
    Q(2) = [q5 q2] = ⎡0 0⎤
    ⎡0 1⎤
    ⎡1 0⎤
    ⎡1 1⎤
  • Compute new coefficients:
    hb(2) = (Q(2)T Q(2))-1 Q(2)T y = [3 2]T

Final Sparse Vector

ÄĨb = [0 2 0 0 3 0]T

The reconstructed signal has only two nonzero elements → the signal is sparse.



4. Interpretation of Q

In this example, the matrix Q is not the actual channel matrix. Rather, it represents how the sparse channel vector is mapped to the received signal. In mmWave MIMO systems:

y = (XT ⊗ WH) (At* ⊗ Ar) hb + n

Here:

  • At – Transmit array response (dictionary of transmit directions)
  • Ar – Receive array response
  • X – Transmit pilot matrix
  • W – Receive combiner matrix

Thus, we define:

Q = (XT ⊗ WH) (At* ⊗ Ar)

Therefore, Q depends on the beamforming and pilot structure, not on the channel itself. The channel is represented by hb, which is sparse in the beamspace domain.



5. Summary

QuantityMeaning
HPhysical MIMO channel matrix
hbSparse beamspace channel vector
QSensing (measurement) matrix derived from array and pilot structure
y = QhbMeasurement equation used in OMP
OMPGreedy algorithm selecting the most correlated columns of Q iteratively

In summary, OMP reconstructs the sparse vector hb from the measurements y by selecting the most relevant columns of Q in each iteration. In mmWave systems, this allows efficient estimation of the sparse channel using a small number of pilots.


Further Reading




Contact Us

Name

Email *

Message *

Popular Posts

Online Simulator for ASK, FSK, and PSK Signal Generation

Interactive Digital Signal Processing (DSP) Tutorial and Simulator for ASK, FSK, and BPSK modulation techniques. Try our new Digital Signal Processing Simulator!   •   Interactive ASK, FSK, and BPSK tools updated for 2025. Start Now Digital Modulation Visualizer: ASK, FSK, & BPSK Simulator Learn and visualize binary modulation techniques (ASK, FSK, BPSK) in real-time with adjustable carrier and sampling parameters. Perfect for DSP students and engineers. 📡 ASK Simulator đŸ“ļ FSK Simulator 🎚️ BPSK Simulator 📚 More Topics ASK Modulator FSK Modulator BPSK Modulator Demodulation More Topics 1. ASK (Ampli...

Direction of Arrival (DoA) Online Simulator (using MUSIC)

Interactive DOA Simulator X-axis XY angle (deg): 45 XZ angle (deg): 30 Noise: 0.05 Y-axis XY angle (deg): 60 YZ angle (deg): 45 Noise: 0.05 Z-axis XZ angle (deg): 60 YZ angle (deg): 30 Noise: 0.05 Estimated DOA (deg): 0 Simulation Workflow and Mathematical Background This simulator demonstrates Direction of Arrival (DOA) estimation using three-axis sensor signals (X, Y, Z), Maximal Ratio Combining (MRC) , and the MUSIC algorithm . It allows interactive control of signal angles and noise for teaching purposes. 1. Signal Generation A pure sinewave signal of frequency f is projected onto three axes using user-defined angles in different planes: X-axis: θ XY , θ XZ Y-axis: θ XY , θ YZ Z-axis: θ XZ , θ YZ Mathematically, for each time sample t : x(t) = s(t) * cos(θ_xy_x) * cos(θ_xz_x) + n_x(t) y(t) = s(t) * sin(θ_xy_y) * cos(θ_yz_y) + n_y(t) z(t) = s(t) * sin(θ_xz_z) * sin(θ_yz_z) + n_z(t) wh...

Constellation Diagrams of ASK, PSK, and FSK (with MATLAB Code + Simulator)

Constellation Diagrams: ASK, FSK, and PSK Comprehensive guide to signal space representation, including interactive simulators and MATLAB implementations. 📘 Overview 🧮 Simulator ⚖️ Theory 📈 Q-function 📚 Resources BASK Modulation Transmits one of two signals: 0 or $\sqrt{E_b}$, representing binary 0 and 1. Simple but sensitive to noise. BFSK Modulation Transmits one of two signals: $\sqrt{E_b}$ on the Y-axis or $\sqrt{E_b}$ on the X-axis. These are orthogonal signals. BPSK Modulation Transmits $+\sqrt{E_b}$ or $-\sqrt{E_b}$ (antipodal signaling). Most efficient binary scheme. ...

UGC NET Electronic Science Previous Year Question Papers with Solutions

Download Papers and Solutions Exam Pattern Preparation Tips FAQs More Home / Engineering & Other Exams / UGC NET 2026 PYQ 📊 Exam Highlights: Electronic Science (88) Feature Details Junior Research Fellowship (JRF) ₹37,000 + HRA per month Eligibility M.Sc/M.Tech in Electronics (55%) Validity of Certificate JRF (3 Years) | Lectureship (Lifetime) đŸ“Ĩ Download UGC NET Electronics PDFs Complete collection of previous year question papers, answer keys and explanations for Subject Code 88. Start Downloading 📂 View All Question Papers June 2025 - Question Paper Download PDF June 2025 - Sol...

Gaussian minimum shift keying (GMSK)

📘 Overview & Theory 🧮 Simulator for GMSK 🧮 MSK and GMSK: Understanding the Relationship 🧮 MATLAB Code for GMSK 📚 Simulation Results for GMSK 📚 Q & A and Summary 📚 Further Reading Dive into the fascinating world of GMSK modulation, where continuous phase modulation and spectral efficiency come together for robust communication systems! Core Process of GMSK Modulation Phase Accumulation (Integration of Filtered Signal) After applying Gaussian filtering to the Non-Return-to-Zero (NRZ) signal, we integrate the smoothed signal to produce a continuous phase signal. For GMSK, the modulation index is $h=0.5$, meaning a bit '1' results in a phase shift of $\pi/2$: θ(t) = 2Ī€h ∫ 0 t m filtered (Ī„) dĪ„ This integration is crucial for avoiding abrupt phase transitions, ensuring smooth and continuous phase changes. Phase Mo...

1G to 5G Technology - Evolution of Wireless Generations

Cellular wireless evolution Generation Frequency band PHY features Data rate Spectral Eff. (bps/Hz) 1G 850 MHz FDMA, FM N/A N/A 2G 900 MHz, 1.8 GHz TDMA/CDMA, GMSK/QPSK, FEC, PC 10 Kbps < 1 3G 1.8–2.5 GHz CDMA, QAM 1–40 Mbps 1–8 4G 2–8 GHz OFDMA, SC-FDMA, QAM, MIMO-OFDM 100–600 Mbps 15 5G 1–6 GHz mm wave (26–28 GHz) < 1 GHz (massive IoT) visible light? massive MIMO, beamforming D2D, Full duplex, NOMA LDPC and Polar codes OFDM & variants (adapted to extremes?) multi-Gbps several tens Waveform design is the major change between the generations Mobile Wireless Generations Specifications  1G  Voice, Analog traffic, FDMA  2G  Voice, SMS, CS data ...

LDPC Encoding and Decoding Techniques

Low Density Parity Check (LDPC) Guide Comprehensive analysis of linear error-correcting block codes, Tanner graphs, and 5G-NR implementations. 📘 Overview 🧮 Encoding 🧩 Decoding 📚 Resources Theory Encoding Tech Tanner Graph 5G Encoding Decoding 'LDPC' is the abbreviation for 'low density parity check'. LDPC code H matrix contains very few amount of 1's and mostly zeroes. LDPC codes are error correcting code. Using LDPC codes, channel capacities that are close to the theoretical Shannon limit can be achieved. Low density parity check (LDPC) codes are linear error-correcting block code suitable for error correction in a large block sizes transmi...