Clear Filters
Clear Filters

How do I use the command fft(x) to compute the DFT of a vector x that is defined over (0≤n≤N0-1).

2 views (last 30 days)
The signal is x(t)=cos(10t) with sampling rate of 50 HZ.
I just having trobule on how to set up this signal into matlab.

Answers (1)

Cris LaPierre
Cris LaPierre on 4 Dec 2018
Edited: Cris LaPierre on 4 Dec 2018
Start by looking at the examples here. You will likely find the rest of the page helpful as well.

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!