You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
I built this small while loop in order to consistently reduce total supply until it is below or equal to total demand. The calculation is relatively simple and should only require the loop to iterate a handful of times (sub 100).
Yet, when I run, the price only reduces by one increment and the counter shoots up infinitely. Can anyone help?
Thanks
Cite As
Jordan Bisset (2026). Issue with While loop (https://www.mathworks.com/matlabcentral/fileexchange/66970-issue-with-while-loop), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (910 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
