Skip to main content

Posts

Search

Search Search Any Topic from Any Website Search
Recent posts

Matched Filter Explained

Matched Filter: Theory and MATLAB Example A matched filter is a linear filter designed to maximize the signal-to-noise ratio (SNR) for detecting a known signal in the presence of additive noise. It is widely used in communications, radar, and sonar . 1. Definition If the known signal is s(t) with duration T , the impulse response of the matched filter is: h(t) = s*(T - t) In discrete time, for a signal s[n] of length N: h[n] = s*[N-1-n] 2. Example: Rectangular Pulse Consider a simple rectangular pulse: s(t) = { 1, 0 ≤ t ≤ 2 0, elsewhere } Matched filter: h(t) = s(2 - t) s(t): ┌───────┐ | | ───────────┘ └──────── 0 2 h(t): ┌───────┐ | | ───────────-------- | 0 2 3. MATLAB Simulation Example We can implement a simple matched filter in MATLAB using a rectangular pulse: % MATLAB Code: Matched Filter Example % Parameters T = 2; ...

Matched Filter Simulator

Matched Filter Simulator Interactive visualization of a template signal, noisy signal, and matched filter output using Plotly. Simulation Controls Signal Length Noise Std Dev Simulate Original vs Noisy Signal Matched Filter Output As you know, a matched filter maximizes the signal-to-noise ratio (SNR) in the presence of additive noise. Its internal operation is mathematically represented as the convolution of the received signal with a time-reversed (and conjugated, in the complex case) versio...

Constellation Distance and Power in M-ary PSK

Constellation Point Distance and Power Requirement in M-ary PSK In digital communication systems, especially M-ary PSK (Phase Shift Keying) , the arrangement of constellation points plays a crucial role in determining error performance and power efficiency. 1. Constellation Point Distance In an M-ary PSK system, the constellation points are equally spaced on a circle of radius √E s , where: E s = Energy per symbol M = Number of constellation points The minimum distance between adjacent constellation points is: d min = 2 √E s sin(Ï€ / M) Key Observations: As M increases, sin(Ï€/M) decreases. The minimum distance between points decreases. Smaller distance → constellation points are closer → higher probability of error. 2. Probability of Error and Symbol Energy The proba...

Can a Sinusoid Be Wide-Sense Stationary (WSS)?

Can a Sinusoid Be Wide-Sense Stationary (WSS)? A noisy sinusoidal is not itself a Wide-sense stationary (WSS) signal. Sinusoidal signal + Random phase = WSS In the code below it demonstrates that how sinusoidal signal can be turned into wide-sense stationary signal where it captures the property like constant mean and same auto-correlation value over time. MATLAB Code % Generate Noisy Sinusoid (Single Script) clc; clear; close all; %% Parameters N = 1000; % Number of samples freq = 5; % Frequency in Hz sampleRate = 100; % Sampling rate in Hz meanValue = 2; % Desired mean variance = 0.5; % Desired variance %% Amplitude from variance amp = sqrt(2 * variance); %% Random phase theta = 2 * pi * rand(); %% Time vector n = 0:N-1; t = n / sampleRate; %% Generate sinusoidal signal signal = meanValue + amp * cos(2 * pi * freq * t + theta); %% Plot signal figure; plo...

Quantum Key Distribution (QKD) Explained

Quantum Key Distribution (QKD): An Intuitive Explanation This explanation rebuilds the ideas behind Quantum Key Distribution (QKD) from the ground up, focusing on intuition first and math second. Big Picture Quantum Key Distribution is a way for two parties (Alice and Bob) to: Create a shared random secret key Detect if anyone (Eve) tried to eavesdrop The core idea: measuring a quantum system changes it . Everything else in QKD follows from this rule. 1. What Are Quantum “States”? A photon can be polarized in different directions: Horizontal (↔) Vertical (↕) Diagonal (↗) Other diagonal (↘) We label these using symbols: |0⟩ = horizontal |1⟩ = vertical These form one basis (a way of asking questions). ...

Lossless Transmission Line Calculator

Lossless Transmission Line Calculator Assumptions: R = 0, G = 0 (Lossless line) Input Parameters Inductance per unit length (L) [H/m] Capacitance per unit length (C) [F/m] Frequency (f) [Hz] Load Impedance Z L [Ω] Incident Voltage V⁺ [V] Line Length λ/4 (odd multiple) λ/2 (any multiple) Calculate Results Results will appear here.

Fast Fourier Transform (FFT) Simulator

Instructions for Fast Fourier Transform (FFT) Simulator Step 1: Click on "Generate Input Signal" to generate the signal. Step 2: Enter the input frequency value in Hz in the parameters section. Step 3: Select the base signal from the dropdown menu. Step 4: Choose an operation such as addition, multiplication, or convolution from the dropdown menu. Step 5: Click the "Simulate" button to run the simulation. Step 6: Reset the simulator by clicking the "Reset Simulator" button. Generate Input Signal Parameters Input Signal Frequency (Hz) Pulse Width (s) Magnitude Plot Phase Plot Base Signal Select an input Sine Wave Cosine...

People are good at skipping over material they already know!

View Related Topics to







Contact Us

Name

Email *

Message *