test.m 193 B

123456789101112
  1. clear all
  2. close all
  3. clc
  4. %%
  5. tf = 1:3000;
  6. t0 = 0;
  7. MuMax = 0.5;
  8. Mu = MuMax .* tf;
  9. Lambda = Mu.^3./tf;
  10. %%
  11. F = exp(2.*Lambda ./ Mu) .* normcdf(-sqrt(Lambda./(tf-t0)).*((tf-t0)./Mu + 1));
  12. plot(tf, F)