system is Linear or non-linear for signals |In MATLAB|

: Linear or non-linear Write the program for given 𝒚[𝒏] − 𝟎. 𝟗[𝒏 − 𝟏] = 𝒙[𝒏] and check either system is Linear or non-linear 

Source code

n=0:1:10

n_1=n+1

y_n=[1 1 1 1 1 1 1 1 1 1 1]

y1_n=0.9*y_n-1

y2_n=y1_n-y_n

stem(n,y2_n)

title('Lab 5')

legend('Linear or non-linear')

xlabel('X')

ylabel('Y')

 

Result:



Post a Comment

0 Comments