Define vector v in the code

2 次查看(过去 30 天)
h

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by