plotting graph and mark points
古いコメントを表示
Hi, I have a set A that contain 200 points and a subset of the set B.I need to graph the A and I need to mark the points in the set B in A.I can't mark those points correctly.Please help me.
3 件のコメント
dpb
2019 年 9 月 15 日
Well, think you'll have to tell us more than that..what did you actually do (show the code) and what isn't what you expected and what would you expect instead?
Attaching sample data and figure showing what it is that isn't what you wanted would always help...
dpb
2019 年 9 月 15 日
Answer moved to Comment...dpb
I use a ucr time series data set.I extract some points based on a condition.The extracted points I need to mark in the original set.I use the plot function.
dpb
2019 年 9 月 15 日
I don't know what "ucr" means, not do you say a thing useful to help us know what, specifically you have done nor what "a condition" is...POST CODE and DATA, not just words....
採用された回答
その他の回答 (2 件)
Silpa K
2019 年 9 月 16 日
inusah alhassan
2021 年 2 月 21 日
s = d(1:1,2:end);
fa = movstd(s,20,1);
secarray = movstd(fa,20,1) ;
secidx = find(secarray>.04);
f = secarray(secidx);
[maxvals, maxidx] = maxk(f,10);
sidx = secidx(maxidx);
x = 1:length(s);
plot(x, s, 'b-', sidx, s(sidx), 'go')
1 件のコメント
Walter Roberson
2021 年 2 月 22 日
This does not appear to be an answer to the user's question?
カテゴリ
ヘルプ センター および File Exchange で Image Arithmetic についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!