Lab-1 Analyze the Analog Signal Analysis with MATLAB:

Name:Write down your name

Date: Date of report submission and date of lab performed

Using MATLAB to analyze the following analog sinusoidal signal: \[x_a(t)=3sin(100\pi t)\space for \space 0 \le t \le 30ms\]

Sketch the signal \(x_a (t)\space for\space 0≤t≤30ms\). The signal \(x_a (t)\) is sampled with a sampling rate \(F_s\) = 300 sample/s, 600 samples/s and 1200 samples/s. Determine the frequency of the discrete-time signal \(x(n)=x(nT) =x_a (t)\), \(T=\frac{1}{F_s}\), and show that it is periodic.

Compute the sample values for one period of x(n). Sketch x(n) on the same diagram with \(x_a (t)\). What is the period of the discrete time signal in milliseconds?

Can you find a sampling rate \(F_s\) such that the signal x(n) reaches its peak value of 3? What is the minimum Fs suitable for this task?

Lab Report: Submit a lab report with your name and ID number. Report must include the MATLAB codes, output figures and the relevant discussion. Useful MATLAB Codes: