MATLAB Answers

Translated by

このページのコンテンツは英語から自動翻訳されています。自動翻訳をオフにする場合は「<a class="turn_off_mt" href="#">ここ</a>」をクリックしてください。

L
0

Edge Finding Program to Fix Data?

L
さんによって質問されました 2018 年 12 月 21 日
最新アクティビティ Image Analyst
さんによって コメントされました 2018 年 12 月 21 日
I am looking at data that has a "bit flip" error (see image below). Is there a solution I could execute in Matlab like an edge finding program to correct these errors in my various data sets? Thank you.
Screen Shot 2018-12-21 at 1.52.15 PM.png

  1 件のコメント

Image Analyst
2018 年 12 月 21 日
Is the green, filtered line the desired signal, and the blue one is the "bad" one that needs to be turned into the green one? If so, how are we supposed to know which peak to turn upside down and which to leave alone? And how much to shift the data vertically? I see a down shift of 1.5 units from the blue to the green.
Attach your data with the paper clip icon if you need more help.

サインイン to comment.

1 件の回答

Star Strider
回答者: Star Strider
2018 年 12 月 21 日

It appears that the discontinuities in the blue line near the regions you likely want to ‘correct’ (if I understand your Question) are the minimum values of those data. Probably the easiest way to find them is to use the Signal Processing Toolbox findpeaks (link) function with an inverted (negated) signal. Don’t worry about the negation, since you want the indices (the second ‘locs’ output). Another option is the islocalmin (link) (R2017b and later) function.

  0 件のコメント

サインイン to comment.



Translated by