just to know,how make the coding for the find the RMS??based on the data like(0.234,0.2338,0.255,3.456,5.3453) the data save in txt

답변 (1개)

Craig Cowled
Craig Cowled 2013년 5월 15일

0 개 추천

Mohd, if you have the Signal Processing Toolbox, you can use the rms function like this:
X = [0.234 0.2338 0.255 3.456 5.3453];
X_rms = rms(X);

댓글 수: 1

Daniel Shub
Daniel Shub 2013년 5월 15일
and if you don't, a poor mans version is rms = @(x)sqrt(mean(x.^2)).

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Characters and Strings에 대해 자세히 알아보기

질문:

2013년 5월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by