To find a mean and variance of a discrete random variable 

Aim: To find  a mean and variance of a discrete  random variable  

Equipment:

   PC with windows (95/98/XP/NT/2000).

   MATLAB Software

MATLAB PROGRAM:

clear all;

close all;

x=[1 2 3 4 5 6];

n=length(x)

m = (1/n)*sum(x)

v = (1/n)*(x-m)*(x-m)'

RESULTS:

n = 6

m =3.5000

v = 2.9167

VIVA QUESTIONS

1. What is Signal Modeling.

Ans: Small-signal modeling is a common analysis technique in engineering which is used to approximate the behavior of nonlinear devices with linear equations and signals.

2.Define Periodic and a periodic Signal.

Ans: If x(t)=x(t+T) then x(t) is periodic signal otherwise it is a periodic signal.

  • Created
    Feb 02, 2020
  • Updated
    Feb 02, 2020
  • Views
    75