フィルターのクリア

Help with unification cycle

1 回表示 (過去 30 日間)
Lev Mihailov
Lev Mihailov 2019 年 9 月 2 日
コメント済み: TADA 2019 年 9 月 2 日
Hello! I have been given 2 matrices in one value, zeros in another, and units I need to combine them
x=[0 1 1 0 0 0 0 1 1 0 0 0 0 0 1 1 1 0 0 0 0]
y=[200 900 900 200 200 ...]
I need to make it so that wherever the units are replaced by values
  1 件のコメント
TADA
TADA 2019 年 9 月 2 日
could you clarify what is the role of each matrix (x and y) and how you want to address the ones and zeros? posting sample input and desired output would also help, as well as what you have tried already

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

採用された回答

Rik
Rik 2019 年 9 月 2 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by