Digital_Communication_Projects_Code
Digital_Communication_Projects_Code
MATLAB Code
1. Generation & Detection of Binary Digital Modulation using SDR
fs = 1e6; % Sample rate
fc = 100e3; % Carrier frequency
data = randi([0 1], 1, 1000);
bpskSig = 2*data - 1;
t = (0:length(bpskSig)-1)/fs;
carrier = cos(2*pi*fc*t);
tx = bpskSig .* carrier;