How to do this flowchart?
显示 更早的评论
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 个评论
Walter Roberson
2020-8-20
What sorting are you referring to?
Ygor Marca
2020-8-20
Walter Roberson
2020-8-20
It looks to me as if you should be using min() and max() instead of sort() ?
Ygor Marca
2020-8-20
Walter Roberson
2020-8-20
No, the flowchart requires connecting or bypassing the highest or lowest among the voltages. That does not require sorting, just min() or max()
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Gravitation, Cosmology & Astrophysics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!