function california_migration_matrix_eigenvalues ( )

%*****************************************************************************80
%
%% california_migration_matrix_eigenvalues() determines the eigen information.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    20 January 2025
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    real L[2]: the eigenvalues.
%
%    real V[2,2]: the eigenvectors.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'california_migration_matrix_eigenvalues():\n' );
  fprintf ( 1, '  Compute eigen information for matrix A\n' );

  A = [ ...
    0.70, 0.10; ...
    0.30, 0.90 ];

  [ V, L ] = eig ( A );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  eigenvalues L:\n' );
  disp ( L );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  eigenvectors V:\n' );
  disp ( V );

  AV = A * V;
  fprintf ( 1, '\n' );
  fprintf ( 1, '  A*V:\n' );
  disp ( AV );

  VL = V * L;
  fprintf ( 1, '\n' );
  fprintf ( 1, '  V*L:\n' );
  disp ( VL );

  return
end


