how can i write my demodualted voice signal to a file

조회 수: 1 (최근 30일)
Hari Ijjada
Hari Ijjada 2019년 8월 29일
댓글: David K. 2019년 8월 29일
For AM modulation i gave my voice as input.i am able to observe my demodulated signal in frequency spectrum but i want to listen the demodulated signal ...so how can i listen the demodulated signal ?
  댓글 수: 1
David K.
David K. 2019년 8월 29일
I assume that to initially get to the frequency spectrum you used the fft. To listen to it you need to convert back to the time domain with the inverse fft.
X = ifft(Y,n)
Then, if you want to listen with matlab you can use
sound(X, Fs);
where Fs is the sampling frequency of your song.
You could also export it if you want to listen outside of matlab
filename = 'song.wav';
audiowrite(filename,X,Fs);

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by