Info
This question is closed. Reopen it to edit or answer.
help highlight adjacent values
1 view (last 30 days)
Show older comments
Data=[20 21 20 21 21 90 92 93 90 93 90 59 30 102 30 21 22 23 21]';
x = 1:19';
DataTemp=Data;
[TF,L,U,C] = isoutlier(DataTemp);
plot(x,DataTemp,x(TF),DataTemp(TF),'x',x,L*ones(1,19),x,U*ones(1,19),x,C*ones(1,19))
legend('Original Data','Outlier','Lower Threshold','Upper Threshold','Center Value')
TF1 = isoutlier(DataTemp,'mean')
TF2 = islocalmax(DataTemp 'FlatSelection', 'all');
Is it possible to separate separately the areas of closely lying values?
ps I did the operations and I am given on the graph 6 values of closely lying (similar to each other) can I write them separately?
Data=[12 121 122 12 12 12 12 12 12 12 63 65 70 70 70 70 71 12 12 12 12 12 12];
here is another dataset, here the problem is at the beginning of 2 outliers, but I need the following values
0 Comments
Answers (0)
This question is closed.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!