Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
STEVという名前のベクトルがあります(12個の数字が含まれています)
次に、このベクトルの最大値を見つけます:maxx=max(STEV)
maxx=max(STEV)
次にやりたいことは、この最大値 (maxx) のベクトル (STEV) のインデックスを見つけることです。
だから私はそのようにします:i=find(STEV==maxx)
i=find(STEV==maxx)
しかし、インデックスが範囲外の例外を取得するため、このコード行に問題があるようです。
写真: