필터 지우기
필터 지우기

hamming window matlab code

조회 수: 19 (최근 30일)
Abdulkareem
Abdulkareem 2012년 12월 11일
편집: Walter Roberson 2020년 6월 7일
hi evrybody i need matlab code for hamming window
  댓글 수: 1
qamar alshraideh
qamar alshraideh 2016년 12월 19일
편집: Walter Roberson 2020년 6월 7일
Built in function ::
M=30; % length
wc1=.05*pi;
n=0:1:(M-1);
h1 = (wc1/pi)*sinc(wc1/pi*n);
ham=h1.*hamming(M)'; %here we dont need to shift
x=n/pi;
x=x/pi;
plot(x,abs(fft(ham)));
title('Magnitude Response');
xlabel('frequency in pi units')

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

채택된 답변

John Petersen
John Petersen 2012년 12월 12일
if x is an n-element input signal and t is the time scale
w = 0.54 - 0.46*cos(2*pi*t/(n-1));
wx = x.*w;
  댓글 수: 1
Abdulkareem
Abdulkareem 2012년 12월 13일
thank you sir

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by