git-svn-id: http://moon:8086/svn/matlab/trunk@157 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
2022-06-16 06:16:47 +00:00
parent 9c60c50492
commit 579c1544b1
29 changed files with 1210 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
% function pmf_eval(M, mu)
function pmf_eval(M, mu)
% Symbol rate
fs = 6000;
Ts = 1/fs;
% Samples per symbol
N = 4;
% Number of polyphase taps
Nh1 = 31
% Polyphase upconversion
Nh2 = M*(Nh1+0)
h1 = firrcos(Nh1, 1/Ts, 0.35, N*fs, 'rolloff');
h2 = M*firrcos(Nh2, 1/Ts, 0.35, M*N*fs, 'rolloff');
index = mod(mu,M);
h2a = h2(1+index:M:Nh2);
nh2a = length(h2a)
close all;
sum(h1)
plot(1:Nh1, h1(1:Nh1), '-x', 1:nh2a, h2a(1:nh2a), '-o');
grid;