Find where two vectors differ by a threshold

3 ビュー (過去 30 日間)
giacomo labbri
giacomo labbri 2020 年 6 月 15 日
コメント済み: Stephen23 2020 年 6 月 15 日
Hi,
I would like to compare the values stored in a vector with each values stored in another vector of different length and find where the first vector is equal within a threshold to the selected values of the second vector. For example
a=[2.2 2.4 2.1]
b=[2.12 2.38]
I would like to find what values of a are equal within a threshold to each element of b.
Thanks in advance,
Giacomo

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by