Remove one data-value from data set?
10 ビュー (過去 30 日間)
古いコメントを表示
Hi
I am running a channel logging temperatures. When I made an update to the channel and added a field. The first field for some reason got one logged data that was wrong and way off, this must have come from the channel edit I made rather than from the arduino update. Because the value is -127 and the arduino type the data is based on is unsigned.
Can I somehow remove this single data from the dataset? If so, how?
Thanks!
0 件のコメント
回答 (2 件)
ME
2019 年 10 月 27 日
It is quite difficult to help without knowing the format in which you have your data stored. But, assuming that you have an array of temperatures then you could just use:
temp(temp==-127)=[]
2 件のコメント
コミュニティ
その他の回答 ThingSpeak コミュニティ
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!