How to do this flowchart?
Afficher commentaires plus anciens
I am having some trouble with the while loop here. It seems like the sorting of my code is not working. I am locating the sorting algorithm outside the while loop.

5 commentaires
Walter Roberson
le 20 Août 2020
What sorting are you referring to?
Ygor Marca
le 20 Août 2020
Walter Roberson
le 20 Août 2020
It looks to me as if you should be using min() and max() instead of sort() ?
Ygor Marca
le 20 Août 2020
Walter Roberson
le 20 Août 2020
No, the flowchart requires connecting or bypassing the highest or lowest among the voltages. That does not require sorting, just min() or max()
Réponses (0)
Catégories
En savoir plus sur Shifting and Sorting Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!