To talk on Icrontic, just register!

It only takes 30 seconds.

Have an account? Sign in:

Forgot?
dnsat
New to the neighborhood
dnsat
3 Posts

how to compute and plot FFT

Hi all
I tried to compute and plot frequency function bellow, but I can't it work. please help

N-1
X[k] = sum(x[n]*exp(2*pi*j*n*k/N))
n=0

Pi=3.14;
fd=10^3;
N=35;
for k=1:N
for n=1:N
X(k)=exp(j*pi*n*(fd-(k/N)));
end
end
shwaip
elaborate bot
shwaip
5,733 Posts
What function are you trying to take the DFT of?

Also, there's an FFT() function in matlab.
__________________ my photostream for ic photography challenge

Anyone who wants dropbox, please use my referral link
dnsat
New to the neighborhood
dnsat
3 Posts
What function are you trying to take the DFT of?

Also, there's an FFT() function in matlab.
Hi there
fft filter out
thank you
i just want to compute frequency response fft filter output
thank you
shwaip
elaborate bot
shwaip
5,733 Posts
I don't understand what you're trying to take the dft of.

could you perhaps post all the code?

place it inside
PHP Code:
[code][/code
tags please.
Similar Threads
Thread Thread Starter Forum Replies Last Post
Matlab Plot lukus09 Matlab Help 1 6 Mar 2009 8:12pm
Sony Lost The Plot Winga Technology Articles 5 12 May 2006 5:24pm
Software to plot map points? primesuspect General Software 3 16 Dec 2004 3:27pm
Modding Google Compute! muddocktor Folding@Home 6 14 Sep 2004 12:30pm
Google Compute + Gromacs = soon? FoldingAddict Folding@Home 2 16 Dec 2003 1:30pm

Go Back   Icrontic Forums > Tech: Software > General Software > Matlab Help
Jump to
This Thread Search this Thread
Search this Thread:

Advanced Search


Current time: 10:46am (GMT)
Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Get Vanilla instead. Trust me.