필터 지우기
필터 지우기

RMS question plss help me

조회 수: 1 (최근 30일)
mohd norhafifi zainudin
mohd norhafifi zainudin 2013년 5월 15일
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일
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)).

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

카테고리

Help CenterFile Exchange에서 String에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by