identify a corresponding value
古いコメントを表示
Hello there,
I have three different signals (1,2,3)
I have identified the peaks values and locations in singal number 1 (blue color).
How can I idenitified the corresponding value of exact location in signals number 2 and 3?
I attached the data and the picture.
Could anyone provide me with the code please?
Thanks
I used this code:
figure (1)
plot (Data (:,1), Data (:,(2)), "b")
hold on
plot (Data (:,1), Data (:,(3)), "g")
hold on
plot (Data (:,1), Data (:,(4)), "r")
hold on
legend({'1','2', '3'},'Location','southwest')
hold on
hold off
[pks,locs] = findpeaks((Data (:,(2))), Data (:,1), 'MinPeakHeight',20, 'MinPeakDistance',1)
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Descriptive Statistics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!