This code contains simulations corresponding to the paper


E. Ringh and E. Jarlebring
Nonlinearization of two-parameter eigenvalue problems
arxiv preprint, 2019
https://arxiv.org/abs/1907.00913

If you find this code useful, please cite this paper.

** MATLAB

MATLAB: Run the scripts:
>> gen_random_example
>> random_example_single_vector


** Julia

Julia: (tested on version 1.1.0) Install the NonlinearEigenproblems package:

julia> ]
(v1.0) pkg> add NonlinearEigenproblems

You will also need to install some other standard packages such as Plots.

Example 1: First download the mat-files and put them in the example1 directory, and then run one of the example scripts
julia> ;
shell> cd example1
julia> include("random_example_gen_fig_single_vector.jl")

Example 2: Run the example2_iar2 first
julia> ;
shell> cd example2
julia> include("example2_iar2.jl")

This makes one run of the simulation. After that you can run the other scripts in the directory.
