필터 지우기
필터 지우기

How to create a custom block for calculating RMS of a signal?

조회 수: 3 (최근 30일)
Krish Ambre
Krish Ambre 2020년 9월 27일
답변: Joel Van Sickel 2020년 9월 28일
I want to create a custom MATLAB function block to replace the Simuink RMS block(for calculating RMS of sin wave). How do I proceed?

답변 (1개)

Joel Van Sickel
Joel Van Sickel 2020년 9월 28일
Hello Krish,
As to how to specifically implement RMS in MATLAB, that is going to depend on your requirements and why you want to use your own function instead of an existing one. You could research RMS approximations or simplifications (based on assumed constant frequency or other simplifications you can get away with) to implement this.
Regards,
Joel

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Signal Import and Export에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by