フィルターのクリア

looking down a column of cells until it reaches a tolerance

1 回表示 (過去 30 日間)
Adrienne
Adrienne 2014 年 5 月 16 日
回答済み: Image Analyst 2014 年 5 月 16 日
hi I want my code to read down a column and find the point where the person starts to jump i.e. the data deviates from bw (body weight) by +/- 10%. How do I do this? so far I have:
if (I<=bw*0.05) && (I>=bw*0.05);
peak_pwr(i,1) = nanmin (data1(1:to(i,1),5));
%peak power in coloumn E1 in all data with reference to cell found
av_pwr(i,1)=nanmean(data1(1:to(i,1),5));
%average power in coloumn E1 in all data with reference to cell found
end

採用された回答

Image Analyst
Image Analyst 2014 年 5 月 16 日
I think you mean 0.9 and 1.1 instead of 0.05 to get the +/- 10%:
if (I>=bw*0.9) && (I<=bw*1.1)

その他の回答 (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