Solved ELCT 222 Signals and Systems Computer Assignment 6

$30.00

Original Work ?

Download Details:

  • Name: ComputerAssignment6-0tgxc1.zip
  • Type: zip
  • Size: 603.80 KB

Category: Tags: , , You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (1 vote)

Consider a flight formation scenario where the jets can only talk with its adjacent neighbors, as indicated by the blue lines below.
In this scenario, the 𝑖𝑖th jet adjusts its velocity, i.e., 𝑣𝑣𝑖𝑖(𝑑𝑑), on the direction of 𝑦𝑦-axis as
𝑑𝑑𝑣𝑣𝑖𝑖(𝑑𝑑)
𝑑𝑑𝑑𝑑 = βˆ’ 1
|𝑁𝑁𝑖𝑖|
οΏ½ 𝛼𝛼�𝑦𝑦𝑖𝑖(𝑑𝑑) βˆ’ 𝑦𝑦𝑗𝑗 (𝑑𝑑) βˆ’ Δ𝑖𝑖𝑖𝑖 οΏ½ + 𝛽𝛽 �𝑣𝑣𝑖𝑖(𝑑𝑑) βˆ’ 𝑣𝑣𝑗𝑗 (𝑑𝑑)οΏ½
π‘—π‘—βˆˆπ‘π‘π‘–π‘–
, (1)
where 𝛼𝛼 and 𝛽𝛽 are the stiffness and damping coefficients, respectively, 𝑦𝑦𝑖𝑖(𝑑𝑑) is the position of the 𝑖𝑖th jet on the y-axis, and it can be expressed as
𝑦𝑦𝑖𝑖(𝑑𝑑) = 𝑦𝑦𝑖𝑖(0) + οΏ½ 𝑣𝑣𝑖𝑖(𝑑𝑑)
𝑑𝑑
0
𝑑𝑑𝑑𝑑, (2)
𝑁𝑁𝑖𝑖 is the set of neighbor indices of the 𝑖𝑖th jet, |𝑁𝑁𝑖𝑖| is the cardinality of the set 𝑁𝑁𝑖𝑖 (i.e., the number of neighbors of the 𝑖𝑖th jet), and Δ𝑖𝑖𝑖𝑖 is the
desired distance between the 𝑖𝑖th jet and the 𝑗𝑗th jet for 𝑑𝑑 β†’ ∞. For example, for this scenario, Ξ”12 ≔ limπ‘‘π‘‘β†’βˆž 𝑦𝑦1(𝑑𝑑) βˆ’ 𝑦𝑦2(𝑑𝑑) = βˆ’π‘‘π‘‘ and Ξ”21 ≔
limπ‘‘π‘‘β†’βˆž 𝑦𝑦2(𝑑𝑑) βˆ’ 𝑦𝑦1(𝑑𝑑) = 𝑑𝑑. (Please pay attention to the signs in your expressions.)
For the initial positions �𝑦𝑦1(0), 𝑦𝑦2(0), 𝑦𝑦3(0),𝑦𝑦4(0), 𝑦𝑦5(0)οΏ½ = (0,20,40,60,80), initial velocities �𝑣𝑣1(0), 𝑣𝑣2(0), 𝑣𝑣3(0), 𝑣𝑣4(0), 𝑣𝑣5(0)οΏ½ =
(500,500,500,500,500), 𝛼𝛼 = 1, 𝛽𝛽 = 2, and 𝑑𝑑 = 10,
1. (25 pts) Determine limπ‘‘π‘‘β†’βˆžπ‘£π‘£π‘–π‘–(𝑑𝑑) with MATLAB for all 𝑖𝑖
2. (25 pts) Determine 𝑉𝑉𝑖𝑖(𝑠𝑠) with MATLAB for all 𝑖𝑖
3. (25 pts) With WolframAlpha, calculate the inverse Laplace transform of 𝑉𝑉3(𝑠𝑠) and plot 𝑣𝑣3(𝑑𝑑) in MATLAB
4. (25 pts) By using the approximation 𝑑𝑑𝑣𝑣𝑖𝑖(𝑑𝑑)
𝑑𝑑𝑑𝑑 β‰ˆ 𝑣𝑣𝑖𝑖(𝑑𝑑+Δ𝑑𝑑)βˆ’π‘£π‘£π‘–π‘–(𝑑𝑑)
Δ𝑑𝑑 in (1),
o Develop a MATLAB code that obtains 𝑣𝑣𝑖𝑖(𝑑𝑑) numerically for 𝑑𝑑 ∈ [0,20] seconds for 𝑖𝑖 (Hint: Choose Δ𝑑𝑑 = 0.001 and use it
in (1) and (2))
o Plot 𝑣𝑣𝑖𝑖(𝑑𝑑) for all the jets (Hint: 𝑣𝑣3(𝑑𝑑) should match with the result in part 3)
o Plot 𝑦𝑦2(𝑑𝑑) βˆ’ 𝑦𝑦1(𝑑𝑑), 𝑦𝑦3(𝑑𝑑) βˆ’ 𝑦𝑦2(𝑑𝑑), 𝑦𝑦3(𝑑𝑑) βˆ’ 𝑦𝑦4(𝑑𝑑), and 𝑦𝑦4(𝑑𝑑) βˆ’ 𝑦𝑦5(𝑑𝑑) (Hint: They should approach 𝑑𝑑 = 10 as 𝑑𝑑 β†’ ∞)