필터 지우기
필터 지우기

Problem with white noise and wav file

조회 수: 1 (최근 30일)
jonh
jonh 2014년 8월 8일
편집: Image Analyst 2014년 8월 9일
[x, fs ] = wavread('hola.wav');
t = 0:1/fs:1;
% Genera Ruido blanco
L = length(t);
var = 2; % varianza
k = randn(1,L); % ruido no uniforme
mean1 = 0.0; % media
ruido = mean1 + sqrt(var)*k; % ruido blanco
x=ruido;
what is the problem? It will no audio signal with the noise but there is only noise, as is done to be both simultaneously I hope answers thank you

답변 (1개)

Iain
Iain 2014년 8월 8일
It looks like you're doing:
signal = valid_data_read_from_file;
noise = randomly_generated_noise;
signal = noise; % remove the signal entirely and replace it with noise
You should be doing
signal = signal + noise;
  댓글 수: 1
jonh
jonh 2014년 8월 8일
Hi there Does not work If you want I send you the files so that you verify I hope your answer Thank you

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

카테고리

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

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by