If testtype is 't2', then p0 is a two-element array of the mean and standard deviation, respectively, of the first sample under the null and alternative hypotheses.Learn how to use the std function in MATLAB to calculate the standard deviation of a vector, matrix, or multidimensional array along different dimensions and with different weighting schemes. If testtype is 'z'or 't', then p0 is a two-element array of the mean and standard deviation, respectively, under the null hypothesis. The result p is the probability that a single observation from the t distribution with ν degrees of freedom falls in the interval.
The cdf of the Student's t distribution is. noise = wgn (m,n,power,imp,randobject) specifies a random number stream object to use when generating the matrix of white. noise = wgn (m,n,power,imp) specifies the load impedance in ohms.
power specifies the power of noise in dBW. noise = wgn (m,n,power) generates an m -by- n matrix of white Gaussian noise samples in volts.