Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ExpAvr Class Reference
指数平均を計算する(実質的なローパスフィルタ) More...
#include <ExpAvr.h>
Public Member Functions | |
| ExpAvr (int order, double fcutoff, double fsample) | |
| コンストラクタ | |
| double | getOutput (double d) |
| 指数平均計算 | |
Detailed Description
指数平均を計算する(実質的なローパスフィルタ)
Definition at line 8 of file ExpAvr.h.
Constructor & Destructor Documentation
| ExpAvr | ( | int | order, |
| double | fcutoff, | ||
| double | fsample | ||
| ) |
Member Function Documentation
| double getOutput | ( | double | val ) |
指数平均計算
指数平均を行い最新の値を返す
- Parameters:
-
d フィルタの入力値
- Returns:
- フィルタの出力値
- Parameters:
-
double val 入力値
- Returns:
- double 移動平均後の値
Definition at line 6 of file ExpAvr.cpp.
Generated on Tue Jul 12 2022 19:08:10 by
1.7.2