Code covered by the BSD License  

Highlights from
Gamma Function CDF

image thumbnail

Gamma Function CDF

by

 

matlab code for ploting Gamma Function CDF.

gamma_cdf.m
% this code is written by Jamal A. Hussein
% barznjy79@yahoo.com
% all rights reserved

clc;
clear all;
close all;

colors=['r','g','b'] ;
  
x = 0:0.5:20;

   theta = 3; % scale parameter
   for k = 1:3  % different shape parameter
   F = gamcdf(x,k,theta);
   plot(x,F,colors(k));
   hold on;
   end
   
   legend('k=1','k=2','k=3') 

Contact us