ドキュメンテーション
最新のリリースでは、このページがまだ翻訳されていません。 このページの最新版は英語でご覧になれます。
デジタル フィルターの係数が単精度かどうかを判別
flag = issingle(d)
例
flag = issingle(d) は、デジタル フィルターの係数 d が単精度の場合に、true を返します。
flag
d
true
すべて折りたたむ
designfilt を使用して 6 次のハイパス IIR フィルターを設計します。正規化された通過帯域周波数、 ラジアン/サンプルを指定します。フィルターを単精度フィルターに変換します。それぞれの場合の精度を識別します。
designfilt
fd = designfilt('highpassiir','FilterOrder',6,'PassbandFrequency',0.6); isd = issingle(fd)
isd = logical 0
fs = single(fd); iss = issingle(fs)
iss = logical 1
digitalFilter
デジタル フィルター。digitalFilter オブジェクトで指定します。d を周波数応答仕様に基づいて生成するには、関数 designfilt を使用します。単精度のフィルターが必要な場合は、designfilt の出力に関数 single を適用します。
single
例: d = designfilt('lowpassiir','FilterOrder',3,'HalfPowerFrequency',0.5) は、正規化された 3 dB の周波数 0.5π ラジアン/サンプルをもつ 3 次のバタワース フィルターを指定します。
d = designfilt('lowpassiir','FilterOrder',3,'HalfPowerFrequency',0.5)
logical スカラーとして返される、型の識別。
designfilt | digitalFilter | double | isdouble | single
double
isdouble
MATLAB のコマンドを実行するリンクがクリックされました。
このリンクは、Web ブラウザーでは動作しません。MATLAB コマンド ウィンドウに以下を入力すると、このコマンドを実行できます。
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:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office