Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

First Assessment

(Signals and Systems 10003 15/15, Signals and Systems G 10095 15/15)


Instruction:

Make sure you answer to every question in details. For Matlab questions, you need to include all the codes and the figure plot if required. For Simulink you need to include every step with

snapshots. Answer questions separately. Handwritten solutions will not be marked.

Part A) Matlab (3 points, 3points)

In this question you will be creating a signal. Then using the “From Workspace” block you will be transferring your signal to Simulink. Then in some steps you will be sampling and digitizing the signal.

a)  Using a simple code define a continuous periodic signal in Matlab and plot it for t=0:0.1s (make sure there are 1000 data point).

A, B, C, D, and E are the integers from your student ID. E.g. student ID= 422019

A=4, B=2, C=2, D=0, E=1

() = ( × 100 +   ) + ( × 100) + (  × 100 )

b)  Using command timeseries turn your data into a timeseries (Check Doc timeseries). Part B) Simulink (7 points, 5 points)

a)  Using the block from workspace transfer your signal (f) to the Simulink and using the “scope” block show the output. Set the time as 0.01 (2points).

 

b)  Similar to the process you learnt in the tutorial start sampling the signal using the following frequencies. Which frequencies are suitable and why (explain)? (7 points)

Fs=50 Hz

Fs=100 HZ

Fs=1000Hz

Fs=2000Hz

Make sure you show every single step in your answer.

c)  Repeat question b but this time instead of using the “from workspace” block construct your signal using sinusoid block from Simulink (include every single step). (2 points)


Part C) Manual (5 points, 3 points)

Having the following discrete signal:



() = 0.8( −8)()+0.28()()

a)   Show that the signal is absolutely summable.

b)   Determine the DTFT of x(n) shown by X( ).

c)   Plot the angle, magnitude, real part, and the imaginary part of X( ) in Matlab.

 

Part D) 10095 ONLY (4 points)

a) Compute the DFT coefficients of the following sequences using the DFT definition, and then verify your answers using MATLAB.

a)   x(n)={8,1,- 1,1,6,0,1}

b)   () = 8(( − 4) − ( − 9))

(u(n) is step sequence)