2023280454 王大智#7
Open
DaviZhi wants to merge 4 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本 PR 在 Anaconda 环境下完成数字调制解调实验相关代码与结果,与仓库说明中的任务 1–6 对齐。
我完成了任务 1(BPSK 调制),在 src/modulation.py 中实现 bpsk_modulate(),映射为 0→+1、1→-1,并生成了 BPSK 星座图 results/bpsk_constellation.png。
我完成了任务 2(QPSK 调制),实现 qpsk_modulate(),按题目要求的格雷码将每 2 比特映射到单位圆上四个相位点,并生成了 results/qpsk_constellation.png。
我完成了任务 3(16-QAM 调制),实现 qam16_modulate(),I/Q 取 {-3,-1,+1,+3} 经功率归一化,并生成了 results/16qam_constellation.png。
我完成了任务 4(解调,选做),在 src/demodulation.py 中实现 BPSK 实部判决,以及 QPSK / 16-QAM 的最小欧氏距离等效门限判决。
我完成了任务 5(BER 性能,选做),在 src/performance_test.py 中在 SNR 0~15 dB 上扫描,绘制半对数 BER 曲线,输出 results/ber_comparison.png。
我完成了任务 6(实验报告),在根目录增加 REPORT.md,按 REPORT_TEMPLATE.md 结构撰写目的、原理、步骤、结果图表与分析、心得与参考文献。