フィルターのクリア

Matrix manipulation

3 ビュー (過去 30 日間)
Will
Will 2011 年 10 月 24 日
Have this:
fixed = [0 1 1 1 0];
w = [120 170 100 85 100];
Trying to get this:
fixedw = [170 100 85];

採用された回答

Image Analyst
Image Analyst 2011 年 10 月 24 日
fixedw= w(logical(fixed))

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeometric Geodesy についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by