Consider an exponential function yt y0eomegat noise Let th
     Consider an exponential function  y(t) = y(0)e^-omegat + noise  Let the parameters be y(0)=10; alpha=1.25  How to apply curve fitting? 
  
  Solution
n=input(\'Enter the duration of the signal N = \');
 a=input (\'Enter the scaling factor a = \');
 t=0:.1:n-1;
 y(t)=y(0)exp(-a*t)+noise ;
 plot(t,y);
 ylabel (\'Amplitude\');
 xlabel (\'Time Index\');
 TITLE (\'Exponential Signal\');

