db2g.m~
来自「信号与信息处理-matlab信号处理工具箱源程序集合」· M~ 代码 · 共 20 行
M~
20 行
function gain=db2g(db)% DB2G Converts from decibels to ratio% % gain=db2g(db)% % INPUTS% db = Ratio in decibels (logarithmic) [dB]% % OUTPUTS% gain = linear ratio [1]% % AIM:% To convert a ratio in decibels to a unitless ratio. Some may understand% this easier thinking of it as converting a logarithmic number to a% linear number.% % TECHNICAL BACKGROUND:% gain=10^(db/10);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?