Define vector v in the code

6 visualizzazioni (ultimi 30 giorni)
Serra Gündar
Serra Gündar il 15 Apr 2021
Modificato: Serra Gündar il 15 Apr 2021
h

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 Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by