Info

此问题已关闭。 请重新打开它进行编辑或回答。

The sinc function is very important in digital signal processing as it is the Fourier transform of a rectangular pulse and is used extensively in interpolation. The sinc function is given by: sinc(t)= sin⁡(π t)/(π t) when t ≠0 sinc(t)=1 whe

2 次查看(过去 30 天)
I need help to do this problem please because i don't understand how does it work!
I did these steps on matlab,
x= -5:1:5;
y= -5:1:5;
r= sqrt(x.^2 +y.^2);
  3 个评论
Rehab Mohamed`
Rehab Mohamed` 2017-3-15
The sinc function is very important in digital signal processing as it is the Fourier transform of a rectangular pulse and is used extensively in interpolation. The sinc function is given by: sinc(t)= sin(π t)/(π t) when t ≠0 sinc(t)=1 when t=0 We will graph the sinc function in 3D to understand better its shape. Write a script that creates a plaid of x and y values that vary between -5 to 5. Choose an adequate step size. Calculate r which is given by: r= √(x^2+ y^2 ) Then, plot using x, y, and sinc(r) using a mesh plot. You can either write your own function for sinc or use MATLAB’s built in function. Include your code and plot below. Skills – 3D mesh plots in MATLAB, meshgrid.

回答(0 个)

此问题已关闭。

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by