This preview shows page 1. Sign up to view the full content.
Unformatted text preview: x= randi([max(s-25,0),min(s+25,500)]); end snew= x; else display('s not in valid range'); %'s' must be between 0 and 500 end...
View Full Document
This note was uploaded on 10/02/2011 for the course ORIE 5430 taught by Professor Shoemaker during the Fall '11 term at Cornell University (Engineering School).
- Fall '11