フィルターのクリア

Corp data in .dat file, not from excel but from figure.

2 ビュー (過去 30 日間)
UET Hussain
UET Hussain 2018 年 1 月 24 日
回答済み: UET Hussain 2018 年 2 月 8 日
I have over 200 .dat files with 10,000 to 50,000 data points. some of the data is useless for me (in-fact troublesome). i want to remove that data but is difficult for me to open the file in excel and remove it manually. is there any method/software that can help me in removing the unwanted data from figure? like in the figure below, the data shown in block boxes is useless (sometimes this unwanted data appears in the middle portion also). any kind of answer will be appreciated.

採用された回答

UET Hussain
UET Hussain 2018 年 2 月 8 日
I tried many things but best way to wither-off these unwanted portions is to use threshold. here i'm taking 20% as threshold value. As i have both positive and negative sides, hence i used "b = find(amp1<a & amp1>a1);"
if true
a = max(amp1);
a = 0.2*a;
a1 = -1*a;
b = find(amp1<a & amp1>a1);
amp1(b) = 0;
amp1=(amp1(amp1~=0));
end

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by