採用された回答

Stephan
Stephan 2021 年 4 月 15 日

0 投票

v=[2,-3,-5,6]
result = prod(v(v>0))

1 件のコメント

Serra Gündar
Serra Gündar 2021 年 4 月 15 日
thank you for your answer!

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

タグ

質問済み:

2021 年 4 月 15 日

編集済み:

2021 年 4 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by