Click here to Skip to main content
14,332,142 members

C / C++ / MFC

 
AnswerRe: How to run the C++ app on cluster? Pin
jung-kreidler7-Mar-19 3:54
memberjung-kreidler7-Mar-19 3:54 
GeneralRe: How to run the C++ app on cluster? Pin
oleg637-Mar-19 4:12
professionaloleg637-Mar-19 4:12 
QuestionUnderstanding makefile and dependency Pin
Member 141617705-Mar-19 6:28
memberMember 141617705-Mar-19 6:28 
QuestionRe: Understanding makefile and dependency Pin
David Crow5-Mar-19 6:59
memberDavid Crow5-Mar-19 6:59 
AnswerRe: Understanding makefile and dependency Pin
CPallini6-Mar-19 1:45
mveCPallini6-Mar-19 1:45 
AnswerRe: Understanding makefile and dependency Pin
Richard MacCutchan6-Mar-19 2:47
protectorRichard MacCutchan6-Mar-19 2:47 
Question[C++] Fast Fourier Transform algorithm does not work properly Pin
Member 141687012-Mar-19 1:51
memberMember 141687012-Mar-19 1:51 
AnswerRe: [C++] Fast Fourier Transform algorithm does not work properly Pin
Daniel Pfeffer2-Mar-19 22:08
professionalDaniel Pfeffer2-Mar-19 22:08 
If you get the original function back after the reverse, you have probably coded the transform correctly.

The problem is likely to be that your sampling rate is not a multiple of the basic frequency of sin(0.1*x). This means that you get a large FFT component close to the frequency, but you also get "noise" throughout the range, due to the fact that the residues do not cancel out.

I would try taking an FFT of sin(x), sin(2*x), etc., and see if these functions give the expected values.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

GeneralRe: [C++] Fast Fourier Transform algorithm does not work properly Pin
Member 141687013-Mar-19 0:15
memberMember 141687013-Mar-19 0:15 
AnswerRe: [C++] Fast Fourier Transform algorithm does not work properly Pin
leon de boer4-Mar-19 4:55
memberleon de boer4-Mar-19 4:55 
GeneralRe: [C++] Fast Fourier Transform algorithm does not work properly Pin
Member 141687014-Mar-19 8:16
memberMember 141687014-Mar-19 8:16 
AnswerRe: [C++] Fast Fourier Transform algorithm does not work properly Pin
Member 1433176610-Oct-19 5:49
memberMember 1433176610-Oct-19 5:49 
QuestionMDI or SDI. How do I connect View with a resource formview. Pin
Member 118836021-Mar-19 1:44
memberMember 118836021-Mar-19 1:44 
AnswerRe: MDI or SDI. How do I connect View with a resource formview. Pin
Victor Nijegorodov1-Mar-19 2:30
memberVictor Nijegorodov1-Mar-19 2:30 
GeneralRe: MDI or SDI. How do I connect View with a resource formview. Pin
Member 118836021-Mar-19 4:05
memberMember 118836021-Mar-19 4:05 
GeneralRe: MDI or SDI. How do I connect View with a resource formview. Pin
Victor Nijegorodov1-Mar-19 20:45
memberVictor Nijegorodov1-Mar-19 20:45 
GeneralRe: MDI or SDI. How do I connect View with a resource formview. Pin
Member 118836021-Mar-19 21:59
memberMember 118836021-Mar-19 21:59 
GeneralRe: MDI or SDI. How do I connect View with a resource formview. Pin
Victor Nijegorodov1-Mar-19 22:34
memberVictor Nijegorodov1-Mar-19 22:34 
GeneralRe: MDI or SDI. How do I connect View with a resource formview. Pin
Member 118836022-Mar-19 2:03
memberMember 118836022-Mar-19 2:03 
QuestionHow to stop flickering of controls in my Dialog window Pin
manoharbalu28-Feb-19 0:43
membermanoharbalu28-Feb-19 0:43 
AnswerRe: How to stop flickering of controls in my Dialog window Pin
Victor Nijegorodov28-Feb-19 1:02
memberVictor Nijegorodov28-Feb-19 1:02 
GeneralRe: How to stop flickering of controls in my Dialog window Pin
manoharbalu28-Feb-19 1:56
membermanoharbalu28-Feb-19 1:56 
AnswerRe: How to stop flickering of controls in my Dialog window Pin
speedbump9928-Feb-19 3:01
memberspeedbump9928-Feb-19 3:01 
GeneralRe: How to stop flickering of controls in my Dialog window Pin
manoharbalu1-Mar-19 1:09
membermanoharbalu1-Mar-19 1:09 
GeneralRe: How to stop flickering of controls in my Dialog window Pin
Victor Nijegorodov1-Mar-19 2:25
memberVictor Nijegorodov1-Mar-19 2:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.