0
$\begingroup$

enter image description here

I wanna show DTFT result and convolution result in f-domain are same.

Additionally, I wanna show sampled function and inverse fourier transform result are same too.

How can I show this? If I use just FFT or DFT, they don't show picture-like. If I have to use other function (e.g diric, freqz, etc), then please let me know how can I use, and input value mean.

$\endgroup$

closed as off-topic by Marcus Müller, A_A, MBaz, lennon310, Matt L. Jul 20 '18 at 20:23

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "General programming questions are off-topic here, but can be asked on Stack Overflow." – Marcus Müller, A_A, MBaz, lennon310, Matt L.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ The way you ask this, it's just a matlab programming, not a signal processing question (and hence, off-topic here). However, I think you have an underlying math unclarity: Are you expecting a numerical calculation to give you analytic results, or are you directly going for symbolic calculations (something for which there's matlab extensions, but not something that matlab is meant for)? In either way, this is really hardly a signal processing question. $\endgroup$ – Marcus Müller Jul 19 '18 at 7:20
1
$\begingroup$

The DTFT is continuous, so you have to approximate the DTFT on a computer.

Zero padding “interpolates” the DFT, so a lot of zero padding will approximate the DTFT

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.