Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

answer_32.cpp中傅立叶正逆变换的问题 #28

Open
beiluo97 opened this issue Apr 30, 2020 · 0 comments
Open

answer_32.cpp中傅立叶正逆变换的问题 #28

beiluo97 opened this issue Apr 30, 2020 · 0 comments

Comments

@beiluo97
Copy link

line 46:val /= sqrt(height * width);
line 73: g = std::abs(val) / sqrt(height * width);
我昨天在做的时候就觉得很奇怪,怎么会能用错误的式子给出正确解答,看到answer_32.cpp就明白了...这愣是把逆变换的中的g = std::abs(val) /(height * width);拆分成了在正逆变换中分别除以sqrt(height * width)的形式...😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant