function s = synthim3(m,n)
%  Generates sythentic images with ridges
%
%	s = synthim3(m,n);
%
%  sythnim:  Uses sin waves to generate random ridge images 
%          
%
%  on input:
%
%    m,n :  Size of desired image
%
%  on output:
%
%    s	:   2D synthetic image of size m x n
%
%  Authors:	Scott Morris
%		Univ of Utah
%		9 Sept 1996  !!!
%


  x = 0:((1*pi) / (n-1)):1*pi;
  y = sin(x);

  w = [y];

  for i1=2:m
   y = sin(x);
   w = [w; y];
  end

  
 % w = max(w,rot90(w));
 w = rot90(w);

  s = w;




