Multiply output after each loop

1 次查看(过去 30 天)
amna chaudhary
amna chaudhary 2018-4-15
评论: Birdman 2018-4-15
I have a for loop which contains if else statements. I want the product of values after each for loop. Im currently displaying the product outside if loop and inside for loop. But after first for loop, it gives a product of previous output and the new output. But I want individual product outputs in each loop. How can I do that please?
  1 个评论
Birdman
Birdman 2018-4-15
Can you share your code? Otherwise how do you expect us to help you?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by