why when i make conv between an averaging filter and a noisy circuit it doesn't get filtered?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
amira ramadan
le 29 Avr 2014
Commenté : amira ramadan
le 3 Mai 2014
n=0:499
x=sin(2*pi*n/50)
y=x+0.1*randn(size(n))
h=[11111]/5
z=conv(h,y)
Réponse acceptée
Image Analyst
le 29 Avr 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)
Plus de réponses (1)
Andrei Bobrov
le 29 Avr 2014
Modifié(e) : Andrei Bobrov
le 29 Avr 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 commentaires
Voir également
Catégories
En savoir plus sur Matched Filter and Ambiguity Function dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!