필터 지우기
필터 지우기

How to write this function in MATLAB

조회 수: 2 (최근 30일)
Yash Patel
Yash Patel 2021년 2월 11일
답변: Drishan Poovaya 2021년 3월 24일
Hello , I am trying to calculate the DTFT of a sequence and compare it using freqz function....
The DTFT of my sequence is
How do I program this in MATLAB ....
w is vectorized quantity
L = 40
  댓글 수: 1
darova
darova 2021년 2월 11일
Please provide your attempts

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

답변 (1개)

Drishan Poovaya
Drishan Poovaya 2021년 3월 24일
I understand you want to write this function in MATLAB with w as a vector. The code below should accomplish this
Pw = L*exp(-1i*w*(L-1)/2).*(sinc(w*L/(2*pi))./sinc(w/(2*pi)));

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by