Info

This question is closed. Reopen it to edit or answer.

I want to get implus from sin

1 view (last 30 days)
Mary Jon
Mary Jon on 14 Jan 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
what is modification on this code to get dirac delta from pure sin wave?
fc=10,fs=2*fc=20
t=1:1/fs:1
a=sin(2*pi*fc*t)
b=abs(fft(a).^2);

Answers (0)

This question is closed.

Tags

Products

Community Treasure Hunt

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

Start Hunting!