Chapter 15. Simulation
Simulation is an area where computers have come into their own. A simulation is a computer experiment that mirrors some aspect of the real world that either appears to be based on random processes or is too complicated to be properly understood. (Whether events can be truly random is actually a philosophical or theological question.) Some examples are radioactive decay, rolling dice, bacteria division, and traffic flow. The essence of a simulation program is that the programmer is unable to predict beforehand exactly what an outcome will be, which is true of the event being simulated. For example, when you flip a coin, you do not know for ...
Get Essential MATLAB for Engineers and Scientists Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.