Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Sorry to keep posting here but I am having issues with what I am doing still, I am not efficient with Matlab yet and like to understand your code but here is what the actual problem statement is
I do not want you to do the assignment for me but am stuck and would like some help if possible...
so I tried what you recommended and I am getting a error due to Matrix not being squared. So I am obviously doing something wrong
r=n;
x1_n=(0.9)^n*[u(n)-u(n-100)];
x2_n=u(n)-u(n-7);
X1_r=fft(x1_n);
X2_r=fft(x2_n);
Y1_r=X1_r*X2_r;
y1_n=ifft(Y1_r);
stem(r,Y1_r,'k');
figure;
stem(n,y1_n,'k')...
I have tried a couple ways and am not truthfully understanding what I am doing. I need to compute the linear and circular convolution (FFT 128 point) of
x1[n]=(0.9)^n*(u[n]-u[n-100]);
x2[n]=u[n]-u[n-7];
please explain, I really like to understand what I am doing and the reasoning behind it
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.