移動二乗平均平方根(moving RMS)を求めるにはどうすればよいですか?
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 21 Set 2016
Risposto: MathWorks Support Team
il 21 Set 2016
移動二乗平均平方根(moving RMS)を求める方法を教えてください。
Risposta accettata
MathWorks Support Team
il 21 Set 2016
MATLAB R2016a 以降では、MATLAB の movstd 関数を使用して移動二乗平均平方根を求めることが可能です。
>> A = [4 8 6 -1 -2 -3 -1 3 4 5];
>> M = movstd(A,3,1)
M =
2.0000 1.6330 3.8586 3.5590 0.8165 0.8165 2.4944 2.1602 0.8165 0.5000
R2015b 以前のバージョンの場合は、以下の内容をご検討ください。
Signal Processing Toolbox には、rms 関数がありますが、こちらでは、2乗平均平方根を求めます。
移動二乗平均平方根を求める場合、for ループ内にて適宜区分的に rms 関数を実行してください。
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 配列と行列の数学 in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!