any option as applying while code to develop pipeline connection within looped network; has noted zero indexing

6 visualizaciones (últimos 30 días)
  3 comentarios
Eng. Fredius Magige
Eng. Fredius Magige el 21 de Mzo. de 2025
any assistance, please. the attached excel might be useful.
In general, am duplicating connection of pipeline head losses in Water Distribution Network (WDN), looping. Data1_8= [3; 5; 7; 8; 2; ...100] with 34 datasets. it seem matr1(2:3,6:7) is challenging one as need zero indecing in while loop; meanwhile the while responding after testing the condition, this main challenge of course
Thank indeed
Image Analyst
Image Analyst el 21 de Mzo. de 2025
The code you posted is not readable. Confusing and not indented and not formatted as code. Please fix it so we can read it.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 21 de Mzo. de 2025
else(matr1(rL,3)==11);
I suspect from context that you wanted
elseif(matr1(rL,3)==11);

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by