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

chapter04 first commit #57

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TomohiTakahashi
Copy link
Contributor

No description provided.

fig, ax = plt.subplots(4, 1)
for i in range(len(spec)):
# ax[i].pcolormesh(spec[i])
ax[i].imshow(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここは演習問題の指定の通り、matplotlib.pyplot.pcolormesh を使ってもらえると!

k = i - (Q - 1) * S
if k < 0:
k = 0
cwnd[i] = wnd[i] / np.sum(wnd[k : i + (Q - 1) * S] ** 2)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここは演習問題では、 $\sum _{m = -(Q - 1)}^{Q - 1} (w[l - m S]) ^ 2$ (数式崩れていますが...)となっているので、Qについてのsumが必要だと思います!また、この条件であれば結果は解説論文の図-5の上から2番目になるはずなので確認してみてもらえると!

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

Successfully merging this pull request may close these issues.

2 participants