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!