Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 7 years ago

fidbc gravatar image

Your code contains syntax errors. One of the problems seems to be:

sin^2(j*2*pi/N)

Did you mean (sin(j*2*pi/N))^2?

click to hide/show revision 2
No.2 Revision

Your code contains syntax errors. One of the problems seems to be:

sin^2(j*2*pi/N)

Did you mean (sin(j*2*pi/N))^2sin(j*2*pi/N)^2?

Seems like this is the only error.

click to hide/show revision 3
No.3 Revision

Your code contains syntax errors. One of the problems seems to be:

sin^2(j*2*pi/N)

This is being interpreted as sin^(2(j*2*pi/N)), which is problably not what you meant. Did you mean sin(j*2*pi/N)^2?

Seems like this is the only error.