필터 지우기
필터 지우기

please check this code .. im getting error that frequency should be less than Fs/2....

조회 수: 4 (최근 30일)
clear; clc;
M=2^50;
freq_sep=100;
nsamp=6;
y=wavread('voice','native');
x=fi(y);
z=bin(x);
m=str2num(z); %#ok<ST2NM>
fsk_mod=fskmod(m,M,freq_sep,nsamp);
noise=awgn(fsk_mod,0);
fsk_demod=fskdemod(noise,M,freq_sep,nsamp);
[num,rate]=biterr(fsk_demod);
output=wavwrite('fsk_demod');
sound(output)

채택된 답변

Walter Roberson
Walter Roberson 2012년 5월 10일
wavwrite() requires a minimum of two parameters, and never returns a value.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 FSK에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by