Define vector v in the code

 Risposta accettata

Stephan
Stephan il 15 Apr 2021
v=[2,-3,-5,6]
result = prod(v(v>0))

Più risposte (0)

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Prodotti

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by