Question: 1. Simulate data sets in MATLAB and compute the crest factor and kurtosis values corresponding to the sin functions, uniformly distributed data, and normally distributed
1. Simulate data sets in MATLAB and compute the crest factor and kurtosis values corresponding to the sin functions, uniformly distributed data, and normally distributed data. Change the data length to re-examine your results.
The reference kurtosis m-file:
x = my_signal;
x0 = x - mean(x); % x-mu(x)
s2 = mean(x0.^2); % biased variance estimator
m4 = mean(x0.^4); % the 4th moment
kurtosis = m4 ./ s2.^2; % kurtosis
crest_factor = max(x0)/sqrt(s2); % crest factor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
