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 FrequencyResponseDrawer LCD_DISCO_F746NG TS_DISCO_F746NG mbed
Diff_FrqResp.hpp
00001 //----------------------------------------------------------- 00002 // Frequency response for differentiator 00003 // 00004 // 2016/04/17, Copyright (c) 2016 MIKAMI, Naoki 00005 //----------------------------------------------------------- 00006 00007 #ifndef DIFF_FREQUENCY_RESPONSE_HPP 00008 #define DIFF_FREQUENCY_RESPONSE_HPP 00009 00010 #include "FrequancyResponseBase.hpp" 00011 00012 namespace Mikami 00013 { 00014 class Diff_FrqResp : public FrequencyResponse 00015 { 00016 public: 00017 Diff_FrqResp() {} 00018 00019 // 周波数応答の絶対値を返す関数, 引数: z^(-1) 00020 virtual float AbsH_z(Complex u) 00021 { return abs(0.5f*(1.0f - u)); } 00022 }; 00023 } 00024 #endif // DIFF_FREQUENCY_RESPONSE_HPP
Generated on Sun Jul 17 2022 20:32:22 by
1.7.2