Only Problem 2!!! MATLAB only and please comment as well.
Received this problem for homework and am struggling!
%%%%matlab code
cla;
clear all;
close all;
x(1)=-0.2
For n= 1:9
x(n+1)= 2*x(n);
end
Figure ;
stem(0:9,x);
xlabel('n')
ylabel('x')
As n increase, value of x(n) also increase but in negative
Direction ...
D
Only Problem 2!!! MATLAB only and please comment as well. Received this problem for homework and ...