?? rcosflt_filter.m
字號:
x = rand(100,1); %輸入數據
num = rcosine(1,8,'sqrt'); %濾波器的轉移函數
y1 = rcosflt(x,1,8,'filter',num); %在發端對數據進行濾波
z1 = rcosflt(y1,1,8,'Fs/filter',num); %對接收數據進行濾波,但不過采樣
z=z1(length(num):8:end);
stem(z(1:30),'.');hold on;stem(x(1:30),'r');
%% 方法二:
% x = rand(100,1); %輸入數據
% y2 = rcosflt(x,1,8,'sqrt'); %在發端設計濾波器,并對數據進行濾波
% z2 = rcosflt(y2,1,8,'sqrt/Fs'); %在收端設計濾波器,并對接收數據進行濾波,但不過采樣
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -