フィルターのクリア

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 Center および File ExchangeString についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by