Algorithms in Matlab or Octave
The functions for Matlab or Octave can be used for free via the web or by installing Octave.
There are two versions of the functions:
Version 1, in the compressed file matlaboctave.zip (updated on May 17, 2014); detailed instructions (in PDF or without a reader) are available.
Version 2, improved but in testing, is in the compressed file matlaboctave2.zip (updated on December 5, 2024); a reference (in PDF or without a reader) can be consulted that complements the detailed instructions of the previous version.
The functions allow you to solve the Von Neumann model (VN) and other problems with several different algorithms, with processes defined in multiple time steps or in continuous time, analyze the distance to maximum conditions, obtain perturbation series, etc. With the improved version, you can also solve VN with variable or exact precision and with internal variables. For more advanced use, you can consult the online help for the functions in the first and improved versions. New versions of the algorithms will be added soon, as well as functions for other problems, for analyzing solutions, etc.
Brief Instructions for Solve the Von Neumann Model
The Von Neumann Model (VN)
For an introduction to the model for non-mathematicians, see Chapter 1 of Computing Von Neumann.
Suppose we have three processes: the first process uses 280 quarters of wheat and 12 tons of iron as inputs to produce 575 quarters of wheat; the second process consumes 120 quarters of wheat and 8 tons of iron to produce 20 tons of iron; the third process, like the first, uses 280 quarters of wheat and 12 tons of iron but produces 400 quarters of wheat. The outputs are obtained at a time after the inputs are consumed. We will write these processes in tables or matrices of inputs A and outputs B, where each process occupies a row and each material a column: