why when i make conv between an averaging filter and a noisy circuit it doesn't get filtered?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
amira ramadan
il 29 Apr 2014
Commentato: amira ramadan
il 3 Mag 2014
n=0:499
x=sin(2*pi*n/50)
y=x+0.1*randn(size(n))
h=[11111]/5
z=conv(h,y)
Risposta accettata
Image Analyst
il 29 Apr 2014
You need commas between the ones in h:
n=0:499
x=sin(2*pi*n/50)
y=x+0.1*randn(size(n))
h=[1,1,1,1,1]/5
z=conv(h,y)
Più risposte (1)
Andrei Bobrov
il 29 Apr 2014
Modificato: Andrei Bobrov
il 29 Apr 2014
n=0:499;
x=sin(2*pi*n/50);
y=x+0.1*randn(size(n));
h=[1,1,1,1,1]/5;
z=conv(y,h,'same');
3 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!