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 Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by