Community Profile

photo

Li Hui Chew


Last seen: 2 months ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


How to compute Z-transform with Matlab?
% equation given y(n)= x(n)+2x(n-1)x(n-2)+y(n-1)-0.5y(n-2) How to get the z-transform of the equation? % for z-transform sym...

3 months ago | 0 answers | 0

0

answers

Question


How to compute poles-zeros using matlab?
H(z)=(1-2^-2)/(1-0.9*z^-1+0.6*z^-2+0.5*z^-3) b=[1 0 -1 0]; a=[1 0.9 0.6 0.5]; % to find zeors zeros=roots(b) % to find pole...

3 months ago | 1 answer | 0

1

answer

Question


Compute the Fourier Transform for: x(n)=u(n)-u(n-6); x(n)=[(2^n)*u]*(-n); x(n)=[-2,-1,0,1,2]
For the first equation: x=[1 0 0 0 0 0 -1]; y=fft(x) y = Columns 1 through 3 0.0000 + 0.0000i 0.3765 - 0.7818i ...

4 months ago | 1 answer | 0

1

answer

Question


Compute convolution y[n]=x[n]*h[n]: x[n]={2,0,1,-1,3}; h[n]={1,2,0,1}
My approach: x=[2 0 1 -1 3]; h=[1 2 0 1]; % therefore y=conv(x,h) y = 2 4 1 3 1 7 -1 ...

4 months ago | 1 answer | 0

1

answer

Question


divide w=3*x^2+8*x+1 and y=x+1; with x=2
My approach to this question is: w=[3 8 1]; y=[0 1 1]; x=[2]; a=polyval(w,x) b=polyval(y,x) a/b Is it the right me...

4 months ago | 1 answer | 0

1

answer

Question


Display the polynomial : f(x)-x^5+12.1x^4=40.59x^3-17.015x^2-1.95x+35.88, the calculate f(5)
syms x f=coeff(x^5 - 12.1*x^4 = 40.59*x^3 - 17.015*x^2 -1.95*x + 35.88) % do i need to use this function? % or use print func...

4 months ago | 2 answers | 0

2

answers

Question


convolution of 2 signals
2 signals was given: x[n]={(1/2)n}, 0<= n <= 4 0, elsewhere h[n]={1}, -2<= n <= 2 0, elesewhere How to c...

4 months ago | 1 answer | 0

1

answer