Define vector v in the code

1 Ansicht (letzte 30 Tage)
Serra Gündar
Serra Gündar am 15 Apr. 2021
Bearbeitet: Serra Gündar am 15 Apr. 2021
h

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by