Error using + Matrix dimensions must agree., can someone help me?

clear all;
[Y,Fs] = wavread('here.wav');
Fs = 16000;%nilai default Fs=16000
%sound(Y,Fs)
noise = randn(length(Y),1);
Y_noise = Y + 0.08*noise;
sound(Y_noise,Fs)

Réponses (1)

clear all;
[Y,Fs] = wavread('here.wav');
Fs = 16000;%nilai default Fs=16000
%sound(Y,Fs)
noise = randn(size(Y));
Y_noise = Y + 0.08*noise;
sound(Y_noise,Fs)

Catégories

Produits

Version

R2013a

Question posée :

le 27 Oct 2022

Réponse apportée :

le 27 Oct 2022

Community Treasure Hunt

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

Start Hunting!

Translated by