我使用 fmmod() 方法调制了两个通道,并使用 fmdemod() 方法解调了调制信号。我们如何才能取回这两个被调制的通道?我们应该怎么做?
我的代码是:
Fs = 8000; % Sampling rate of signal
Fc = 3000; % Carrier frequency
t = [0:Fs-1]'/Fs; % Sampling times
s1 = sin(2*pi*300*t)+2*sin(2*pi*600*t); % Channel 1
s2 = sin(2*pi*150*t)+2*sin(2*pi*900*t); % Channel 2
x = [s1,s2]; % Two-channel signal
dev = 50; % Frequency deviation in modulated signal
y = fmmod(x,Fc,Fs,dev); % Modulate both channels.
z = fmdemod(y,Fc,Fs,dev); % Demodulate both channels.
figure(1);
plot(z);
变量 z 包含什么类型的值?如何从 fmdemod 方法取回频道?