如何确定PCM样本的信号强度?就权力而言
我读到信号功率=信号*信号。那是什么?什么是信号?我们如何获得它?我正在用 C 编程(如果有必要发布)
I read that signal power = signal * signal. What is that? what is signal? how do we obtain it? I'm programming in C(if that's necessary to post)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
信号是您采样的任何输入源的幅度。例如,对于音频,您可能有 16 位带符号样本,+32767 可能代表 +1.0 V 模拟,-32768 可能代表 -1.0 V 模拟。 (数字样本值与您采样的任何模拟量之间的关系通常是线性的,这使生活变得简单。)
要计算信号的功率,您需要测量均方值,例如
Signal is the amplitude of whatever input source you have sampled. E.g. for audio you might have 16 bit signed samples, and +32767 might represent say +1.0 V analogue and -32768 would be -1.0 V analogue. (The relationship between digital sample value and whatever analogue quantity you are sampling is usually linear, which makes life simple.)
To calculate the power of a signal you would measure the mean square value, e.g.