Simulinkである波の時間平均をScopeでモニターしたい
조회 수: 22(최근 30일)
표시 이전 댓글
채택된 답변
추가 답변(1개)
maeda
2019년 2월 15일
편집: maeda
2019년 2월 15일
simulink上で平均値をとることを考えて、平均値を取りたいサンプルリング周波数を決めてunit delay ブロックで平均を取るのはいかがでしょうか。
添付のsimlinkファイルでサイン波の時間平均の出力を確認できます。
**** 使い方 ****
・サンプリング周波数は、pulse generatorの周波数を変えると設定できます。
・subsystemの中のunit delayの数をコピーペーストで増やせば平均化を強くすることができます。逆に減らせば、平均化は弱まります。
・subsystemの中の10と書いてある定数はunit delayと同じ数にしてください。unit delayを5個にしたら定数の中身は5にしてください。
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!