Professional Documents
Culture Documents
Signal Analysis Exp I3
Signal Analysis Exp I3
Measurements systems are always subject to noise signals. Statistical analysis provides a way
to analyze and quantify the impact of these noise signals on the desirable signals. This lab
introduces students to this powerful signal analysis tool. Matlab is used to generate a sine
wave, square wave, sine wave with superimposed noise and a square wave with superimposed
noise. The impact of noise is then analyzed through determining their Means, Standard
Deviations, Power Spectral Density, Power Density Functions, Cross-Correlations and Auto-
Correlations using Matlab built-in functions.
This report presents the results found. Appendix A presents the Matlab code implemented.
2 Signals Generation
The noise signals were then superimposed on both the sine and square waves by addition in
Matlab. Figures 3(a) and (b) shows the sin and square waves with superimposed noise signals.
Listings 4 and 5 presents the code used to generate these signals.
Figure 3: generated noise superimposed (a) sin and (b) square waves
3 Signals Analysis
The signals are statistically analyzed using the techniques described in the following
subsections. Matlab statistical functions were used to determine the quantities of each
technique.
1.3 Means
The mean refers to the average value of the signal.
Figure 4: Power Spectral Density of (a)square wave, (b) square wave with noise, (c) sine wave and (d)
sine wave with noise
1.6 Power Density Functions (PDFs)
Figure 5: Power Density Functions Density of (a) square wave, (b) square wave with noise, (c) sine
wave and (d) sine wave with noise
1.7 Cross-Correlation
Figure 6: Cross-correlation of (Left) sine wave and sine wave with noise and (Right) square wave and
square wave with noise
1.8 Auto-Correlation
Figure 7: Auto-correlation of (Left) sine wave with noise and (Right) square wave with noise
4 Conclusion
Sine wave, square wave, sine wave with superimposed noise and a square wave with
superimposed noise were generated using Matlab. Statistical analysis was applied to these
signals by determining their Means, Standard Deviations, Power Spectral Density, Power
Density Functions, Cross-Correlations and Auto-Correlations.