% File: EB_055.M

clear;

m = input('Enter the desired value of the mean: ');
sigma = input('Enter the desired value of the standard deviation: ');
sigma = abs(sigma);

x = m-5*sigma:10*sigma/1000:m+5*sigma;

cdf = zeros(length(x),1);
cdf = q((m - x)/sigma);

fprintf('\nSee Window for plot.\n')

plot(x,cdf);
xlabel('x');
ylabel('F(x)');
title('CDF of Guassian R.V. with specified mean and standard deviation');
grid;




