Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

doubt on DTFT matlab code, need help!

Status
Not open for further replies.

musicguy

Junior Member level 3
Joined
Aug 9, 2009
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,462
dtft matlab

k = 0: 250;
w = (2*pi/125)*k;

for the above program, it mean from 0 to 4pi is represented by 251 point?
 

Aya2002

Advanced Member level 4
Joined
Dec 12, 2006
Messages
1,142
Helped
184
Reputation
376
Reaction score
118
Trophy points
1,343
Location
Iraq
Activity points
8,019
matlab dtft

musicguy said:
k = 0: 250;
w = (2*pi/125)*k;

for the above program, it mean from 0 to 4pi is represented by 251 point?
it is represented by 251 points yes you can type the command length (w) this will give you the length of w

>> length(w)

ans =

251
----------------------------
also it is from 0 to 4 pi

regards
 

musicguy

Junior Member level 3
Joined
Aug 9, 2009
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,462
dtft in matlab

thanks aya2002.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top