はじめに
色々な波のアニメーションをmatplotlibのFuncAnimationによって作成する。
コード&解説
モジュールのインポート
バージョン
データの生成
図の表示

Sin波のアニメーション
Sin波の重ね合わせアニメーション1
Sin波の重ね合わせアニメーション2
Sin波の重ね合わせアニメーション3
ノイズキャンセル的な挙動になるようにすると以下のようになる。
合成波の場合

合成波の重ね合わせアニメーション
コメント