Click here to Skip to main content
14,737,994 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to run the C++ app on cluster? Pin
jung-kreidler7-Mar-19 4:54
Memberjung-kreidler7-Mar-19 4:54 
GeneralRe: How to run the C++ app on cluster? Pin
oleg637-Mar-19 5:12
professionaloleg637-Mar-19 5:12 
QuestionUnderstanding makefile and dependency Pin
Member 141617705-Mar-19 7:28
MemberMember 141617705-Mar-19 7:28 
QuestionRe: Understanding makefile and dependency Pin
David Crow5-Mar-19 7:59
MemberDavid Crow5-Mar-19 7:59 
AnswerRe: Understanding makefile and dependency Pin
CPallini6-Mar-19 2:45
mveCPallini6-Mar-19 2:45 
AnswerRe: Understanding makefile and dependency Pin
Richard MacCutchan6-Mar-19 3:47
mveRichard MacCutchan6-Mar-19 3:47 
Question[C++] Fast Fourier Transform algorithm does not work properly Pin
Member 141687012-Mar-19 2:51
MemberMember 141687012-Mar-19 2:51 
AnswerRe: [C++] Fast Fourier Transform algorithm does not work properly Pin
Daniel Pfeffer2-Mar-19 23:08
professionalDaniel Pfeffer2-Mar-19 23: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 1:15
MemberMember 141687013-Mar-19 1:15 
AnswerRe: [C++] Fast Fourier Transform algorithm does not work properly Pin
leon de boer4-Mar-19 5:55
Memberleon de boer4-Mar-19 5:55 
GeneralRe: [C++] Fast Fourier Transform algorithm does not work properly Pin
Member 141687014-Mar-19 9:16
MemberMember 141687014-Mar-19 9:16 
AnswerRe: [C++] Fast Fourier Transform algorithm does not work properly Pin
Member 1433176610-Oct-19 6:49
MemberMember 1433176610-Oct-19 6:49 
QuestionMDI or SDI. How do I connect View with a resource formview. Pin
Member 118836021-Mar-19 2:44
MemberMember 118836021-Mar-19 2:44 
AnswerRe: MDI or SDI. How do I connect View with a resource formview. Pin
Victor Nijegorodov1-Mar-19 3:30
MemberVictor Nijegorodov1-Mar-19 3:30 
GeneralRe: MDI or SDI. How do I connect View with a resource formview. Pin
Member 118836021-Mar-19 5:05
MemberMember 118836021-Mar-19 5:05 
GeneralRe: MDI or SDI. How do I connect View with a resource formview. Pin
Victor Nijegorodov1-Mar-19 21:45
MemberVictor Nijegorodov1-Mar-19 21:45 
GeneralRe: MDI or SDI. How do I connect View with a resource formview. Pin
Member 118836021-Mar-19 22:59
MemberMember 118836021-Mar-19 22:59 
GeneralRe: MDI or SDI. How do I connect View with a resource formview. Pin
Victor Nijegorodov1-Mar-19 23:34
MemberVictor Nijegorodov1-Mar-19 23:34 
GeneralRe: MDI or SDI. How do I connect View with a resource formview. Pin
Member 118836022-Mar-19 3:03
MemberMember 118836022-Mar-19 3:03 
QuestionHow to stop flickering of controls in my Dialog window Pin
manoharbalu28-Feb-19 1:43
Membermanoharbalu28-Feb-19 1:43 
AnswerRe: How to stop flickering of controls in my Dialog window Pin
Victor Nijegorodov28-Feb-19 2:02
MemberVictor Nijegorodov28-Feb-19 2:02 
GeneralRe: How to stop flickering of controls in my Dialog window Pin
manoharbalu28-Feb-19 2:56
Membermanoharbalu28-Feb-19 2:56 
AnswerRe: How to stop flickering of controls in my Dialog window Pin
mo149228-Feb-19 4:01
Membermo149228-Feb-19 4:01 
GeneralRe: How to stop flickering of controls in my Dialog window Pin
manoharbalu1-Mar-19 2:09
Membermanoharbalu1-Mar-19 2:09 
GeneralRe: How to stop flickering of controls in my Dialog window Pin
Victor Nijegorodov1-Mar-19 3:25
MemberVictor Nijegorodov1-Mar-19 3: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.