Error using + Matrix dimensions must agree., can someone help me?
Show older comments
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)
Answers (1)
KSSV
on 27 Oct 2022
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)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!