Hi all,

How can I find the average of a discrete signal in matlab, I know all the values of the signal ( i.e I know the y value for each x value ). In continuous waveform we can use (1/T)*integration( f(t)*dt ) , but I don’t know what should I use for a discrete signal??

pls not the signal is periodic

Thanks,