function powers_data_test ( )

%*****************************************************************************80
%
%% POWERS_DATA_TEST tests POWERS_DATA.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    04 December 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'SVD_POWERS_DATA_TEST\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  POWERS_DATA generates a dataset of powers.\n' );

  xmin = -1.0;
  xmax = +1.0;
  m = 11;
  n = 8;

  data = powers_data ( xmin, xmax, m, n );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  POWERS_DATA generated this data:\n' );
  fprintf ( 1, '\n' );
  for i = 1 : m
    for j = 1 : n
      fprintf ( 1, '  %10.4f', data(i,j) );
    end
    fprintf ( 1, '\n' );
  end
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'POWERS_DATA_TEST\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
