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.
Dependencies: BSP_DISCO_F746NG F746_GUI F746_SAI_IO FrequencyResponseDrawer LCD_DISCO_F746NG SDFileSystem_Warning_Fixed TS_DISCO_F746NG mbed
Fork of F746_SD_GraphicEqualizer by
Diff: MyClasses_Functions/FrequancyResponseBase.hpp
- Revision:
- 0:e953eb392151
diff -r 000000000000 -r e953eb392151 MyClasses_Functions/FrequancyResponseBase.hpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/MyClasses_Functions/FrequancyResponseBase.hpp Wed Apr 27 13:56:39 2016 +0000
@@ -0,0 +1,27 @@
+//------------------------------------------------------
+// FrqRespDrawer クラスで周波数特性を描画する際に使う
+// 周波数応答に対応するクラスの抽象基底クラス
+//
+// 2016/04/27, Copyright (c) 2016 MIKAMI, Naoki
+//------------------------------------------------------
+
+#ifndef FREQUENCY_RESPONSE_BASE_HPP
+#define FREQUENCY_RESPONSE_BASE_HPP
+
+#include <complex> // requisite for complex
+
+namespace Mikami
+{
+ typedef complex<float> Complex; // define "Complex"
+
+ class FrequencyResponse
+ {
+ public:
+ // 周波数応答の絶対値を返す関数, 引数: z^(-1)
+ virtual float AbsH_z(Complex u) = 0;
+
+ protected:
+ FrequencyResponse() {}
+ };
+}
+#endif // F746_FREQUENCY_RESPONSE_BASE_HPP
