Search results

  1. S

    Plot spectral phase in Mtlab

    Hi everyone, I have this Matlab code : function PH = testing close all; x = [0:1e-3:10-1e-3]; ph = -(x-5).^2; y = exp(-(x-5).^2./(0.2^2)).*exp(i*2*pi*ph); Y = fft(y); Y = fftshift(Y); PH = angle(Y); X = (x(2) - x(1))^-1*linspace(0,1,length(x)); figure plot(x,ph); figure...
  2. S

    The spectrum of a double pulse

    Hi everyone, I was working recently with a Michelson interferometer and measured the spectrum of the two pulses and see how the fringe spacing of the spectrum change as I change the position of one of the two mirrors in the interferometer, that is the time interval between the two pulses. I...
  3. S

    Laser rate equation(ODE) simulation problem

    ... just one thing : from your rate eqs. gamma is the spontaneous emission coefficient(dimensionless) as you say in youor second post and not the compression factor, as said in the first
  4. S

    Laser rate equation(ODE) simulation problem

    thanks to everyone : it's helpfull to share code. billboss, your code is just i was trying to obtain in matlab. I'm new with matlab programming and your code is an excellent starting point for the model i want to implement. thanks again