Advertisement
Sri27119

exponential different mu

May 19th, 2024
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.26 KB | None | 0 0
  1. x = 0:100;
  2. mu1 = 10;
  3. mu2 = 5;
  4. mu3 = 15;
  5.  
  6. y1 = exppdf(x,mu1);
  7. y2 = exppdf(x,mu2);
  8. y3 = exppdf(x,mu3);
  9.  
  10. plot(x,y1,'r');
  11. hold on;
  12. plot(x,y2,'g');
  13. plot(x,y3,'b');
  14. title('EXPONENTIAL DISTRIBUTION CURVE FOR DIFFERENT mu');
  15. legend('mu=10','mu=5','mu=15');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement