Question: I am still learning Matlab can you please write the code for problem #2 which invovles using problem #1 to generate 16 graphs . I
I am still learning Matlab can you please write the code for problem #2 which invovles using problem #1 to generate 16 graphs. I can only generate 8 so i know I am doing something wrong.
Exercises For Exercises 1-3, use the discrete system described by the difference equation, y(n)+ay(n -1)+azy(n-2)+azy(n-3)-box(n)+h(n-1)+b2(n-2)+b(n-3) where x(n) is the system's input, y(n) is the system's output and al =-0. 18902544 a2-0.71974 192 ho -0.25445939 b> 0.43220307 b 0.43220307 a,--0.15739157 b3-0.25445939 1. Draw a) a Direct Form I block diagram of the system. b) a Direct Form II block diagram of the system. c) a transposed Direct Form II block diagram of the system. Indicate the number of delays (memory registers) required to implement cach block diagram. 2. Using afor loop or a while loop, write programs that implement each of the block diagrams that you drew in Exercise1. Indicate the number of delays (memory registers) that each of your difference equation implementations use. Using all three programs, calculate the system's first 51 outputs when the system's input, x(n), is a) a(n)-Sn). b) x(n)=u(n). c) x(n) = cos(0.2)Ir(n) d) n)-cos(0.2u(n) + cos(0.7roi)u(n) Plot the inputs and outputs using the stem, title and subplot functions. (You should gener ate 16 plots on 4 pages, that is, four plots per page.) Exercises For Exercises 1-3, use the discrete system described by the difference equation, y(n)+ay(n -1)+azy(n-2)+azy(n-3)-box(n)+h(n-1)+b2(n-2)+b(n-3) where x(n) is the system's input, y(n) is the system's output and al =-0. 18902544 a2-0.71974 192 ho -0.25445939 b> 0.43220307 b 0.43220307 a,--0.15739157 b3-0.25445939 1. Draw a) a Direct Form I block diagram of the system. b) a Direct Form II block diagram of the system. c) a transposed Direct Form II block diagram of the system. Indicate the number of delays (memory registers) required to implement cach block diagram. 2. Using afor loop or a while loop, write programs that implement each of the block diagrams that you drew in Exercise1. Indicate the number of delays (memory registers) that each of your difference equation implementations use. Using all three programs, calculate the system's first 51 outputs when the system's input, x(n), is a) a(n)-Sn). b) x(n)=u(n). c) x(n) = cos(0.2)Ir(n) d) n)-cos(0.2u(n) + cos(0.7roi)u(n) Plot the inputs and outputs using the stem, title and subplot functions. (You should gener ate 16 plots on 4 pages, that is, four plots per page.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
