Question

1. Mystery System. Copyright University of Colorado Denver. This is an exam question. The use of any external resources such as Chegg is not allowed. Download the file black box.p

from CANVA Sand save it in the folder where you have your MATLAB code. This file defines a system y=black box (x); Do not try to load this file into MATLAB just have it in the folder where you are running other code from so MATLAB can find the file. a) Use MATLAB to evaluate y=blackbox (x); where x =- [1 2 3 4] c) Use MATLAB to evaluate y blackbox(x); where x =[0 1 2 3 4 d) Is the blackbox system linear? Justify your answer using your answers from (a) - (c) e) Is the blackbox system invariant? Justify your answer using your answers from (a)-(c) Write equation for the blackbox system that gives output y[n] in terms of input x[n]. If you cannot write an equation, describe clearly in words what the black box system is doing. (Hint if the answer is not obvious input other signals into the system and see what comes out). b) Use MATLAB to evaluate y-blackbox (x); where x =2*[1 2 3 4]

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6

Fig: 7