Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

how come matlab gives 0+0i? is this same as 0?

Status
Not open for further replies.

W_Heisenberg

Full Member level 4
Joined
Feb 27, 2011
Messages
217
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,298
Location
Boston
Activity points
2,575
the thing is so easy, I have x = [1 1 1 1 1]

and then i am looking forward to its DFT as 5 point

so the code is as following:
x = [1 1 1 1 1]

W=[1 1 1 1 1;1 w w^2 w^3 w^4;1 w^2 w^4 w^6 w^8;1 w^3 w^6 w^9 w^12;1 w^4 w^8 w^12 w^16]

w=W*x

and the result now is :
5.0000
0
0.0000 - 0.0000i
0.0000 - 0.0000i
0.0000 + 0.0000i


it is right but what does 0000+0000 i implies here?

it is not zero? it is just too small?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top