How to save indexes from a MATLAB figure in a matrix manually?

2 ビュー (過去 30 日間)
Malahat Mehraban
Malahat Mehraban 2021 年 6 月 14 日
コメント済み: Malahat Mehraban 2021 年 6 月 14 日
Hello everyone,
I have an ECG signal that I should find its R-peaks by an R-peak detection algorithm.
At the first, I want to acquire the peaks' indexes by clicking on the point and then saving all the indexes in a matrix. Is it possible to guide me on how to select the points manually and save their indexes?
After creating the matrix, I want to compare the algorithm results to the manual results.

採用された回答

Mario Malic
Mario Malic 2021 年 6 月 14 日
Hello,
Here's an extensive answer by Adam that should cover everything you might need with the datatips (if you are able to create those on your figure). Otherwise see the CurrentPoint property. Sorry, I can't provide an example for this.
  1 件のコメント
Malahat Mehraban
Malahat Mehraban 2021 年 6 月 14 日
Thank you for your help, it was really helpful and informative.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by