フィルターのクリア

Convert vector position to real number

2 ビュー (過去 30 日間)
Krish Desai
Krish Desai 2015 年 10 月 11 日
回答済み: Matt J 2015 年 10 月 12 日
Really simple question, I have the following:
>> vec=[44 3 2 9 11 6]
vec =
44 3 2 9 11 6
>> find(vec>6)
ans =
1 4 5
How do I convert the values into their real number? As in how do I have 44 9 11 show up
  1 件のコメント
Tom
Tom 2015 年 10 月 11 日
indices = find(vec>6)
vec(indices)

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

採用された回答

Matt J
Matt J 2015 年 10 月 12 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by