
msk在MATLAB中的应用。
5星
- 浏览量: 0
- 大小:None
- 文件类型:None
简介:
clc; clear all; fs = 100; Nb = 20; N = 10; h = 0.5; a = randi(1, N); g = ones(1, Nb) / (2 * Nb); b = 2 * a - 1; c = []; for ii = 1:N bb = [b(ii), zeros(1, Nb - 1)]; c = [c, bb]; end d = filter(g, 1, c); frg = 2 * pi * h * d; fai = filter([0, 1], [1, -1], frg); l = 1:length(fai); t = l / (Nb * N); s = exp(j * (2 * pi * fs * t + fai)); msk = real(s); I_fai = real(exp(j * fai)); Q_fai = imag(exp(j * fai));
subplot(2, 1, 1); plot(msk);
subplot(2, 1, 2); plot(fai);
figure;
subplot(2, 1, 1); plot(I_fai);
subplot(2, 1, 2); plot(Q_fai);
全部评论 (0)
还没有任何评论哟~


