Multiply output after each loop
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Respuestas (0)
Ver también
Categorías
Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!