function s = synthp(m,n)
%
% synthp: generates sythentic images with peaks
%
%	s = synthp(m,n);
%
%  sythnim:  Uses sin waves to generate random peak 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
%		12 November
%


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

  w = [y];

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

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

  s = w;




