Community Profile

# Li Hui Chew

Last seen: 10 months ago Active since 2021

#### 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...

11 months ago | 0 answers | 0

### 0

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...

11 months ago | 1 answer | 0

### 1

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 ...

1 year ago | 1 answer | 0

### 1

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 ...

1 year ago | 1 answer | 0

### 1

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...

1 year ago | 1 answer | 0

### 1

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...

1 year ago | 2 answers | 0