フィルターのクリア

How to find these features for large number of data?

3 ビュー (過去 30 日間)
Lala0099
Lala0099 2019 年 3 月 7 日
コメント済み: Kevin Phung 2019 年 3 月 10 日
Dear People,
I have 80 datasheets, and within each datasheet I have 3 different group. In each group I have 400 measurements.
I have to measure the root mean square value, Standard deviation, skewness etc.
But I have not got a clue how to do it for these many data point.
I started by transforming each coloumn into an array ( transposed it) and then managed to get rms. But I am wondering if there is a more efficient way of doing it.
If you guys have any suggestions please let me know.
My code:
X = transpose(table2array( reachandretrieve00(:,3)));
r = rms(X)
I have attached one of my datasheets.

採用された回答

Kevin Phung
Kevin Phung 2019 年 3 月 7 日
i'm not sure how you're storing each datasheet, but if they are all in cell arrays (1 x 80 cell array, where each cell array is a datasheet):
rms_val = [];
for i = 1:numel(datasheets) % for each datasheet
for j = 1:size(datasheets{i},2) % for each column in each datasheet
rms_val(i,j) = rms(datasheets{i}{:,j}) %for each datasheet, store rms value into a row vector
end
end
  4 件のコメント
Lala0099
Lala0099 2019 年 3 月 10 日
Thank you for helping me! It worked :)
Kevin Phung
Kevin Phung 2019 年 3 月 10 日
youre welcome!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by