db2mag
デシベルの振幅への変換
説明
例
乱数の振幅
ガウス乱数の 2 x 4 x 2 配列を生成します。デシベル単位の数値から、対応する振幅を計算するとします。
r = randn(2,4,2); mags = db2mag(r)
mags = mags(:,:,1) = 1.0639 0.7710 1.0374 0.9513 1.2351 1.1044 0.8602 1.0402 mags(:,:,2) = 1.5098 0.8561 1.0871 1.0858 1.3755 1.4182 0.9928 0.9767
定義を使用して計算を確認します。
chck = 10.^(r/20)
chck = chck(:,:,1) = 1.0639 0.7710 1.0374 0.9513 1.2351 1.1044 0.8602 1.0402 chck(:,:,2) = 1.5098 0.8561 1.0871 1.0858 1.3755 1.4182 0.9928 0.9767
入力引数
ydb
— デシベル単位の入力配列
スカラー | ベクトル | 行列 | N 次元配列
dB 単位の入力配列。スカラー、ベクトル、行列または N 次元配列として指定します。ydb
が非スカラーの場合、db2mag
は要素単位の演算になります。
データ型: single
| double
バージョン履歴
R2008a で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)