Continue to Site

Welcome to EDAboard.com

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.

[SOLVED] Help me plot lollipop figure in Matlab

Status
Not open for further replies.

hgphtgi2

Banned
Newbie level 5
Joined
Sep 19, 2010
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
0
hi all, could u help me to solve the following using matlab

x(-3)=1,x(-2)=-2,x(-1)=0,x(0)=3,x(1)=0,x(2)=2,x(3)=-1

h(-2)=-1,h(-1)=2,h(0)=0,h(1)=1,h(2)=-2

a) plot lollipop figure of x(n)

b) use MATLAB to find convolution y(n)=x(n)*h(n)

c)a) plot lollipop figure of y(n)
 

Re: sos please

hi all, could u help me to solve the following using matlab

x(-3)=1,x(-2)=-2,x(-1)=0,x(0)=3,x(1)=0,x(2)=2,x(3)=-1

h(-2)=-1,h(-1)=2,h(0)=0,h(1)=1,h(2)=-2

a) plot lollipop figure of x(n)

b) use MATLAB to find convolution y(n)=x(n)*h(n)

c)a) plot lollipop figure of y(n)

Is this your assignment? and sos is deadline for it?
 

Re: sos please

no sir its not assignment.Its just tutorial.

tnx for ur replay
 

Re: sos please

hi all, could u help me to solve the following using matlab

x(-3)=1,x(-2)=-2,x(-1)=0,x(0)=3,x(1)=0,x(2)=2,x(3)=-1

h(-2)=-1,h(-1)=2,h(0)=0,h(1)=1,h(2)=-2

a) plot lollipop figure of x(n)

b) use MATLAB to find convolution y(n)=x(n)*h(n)

c)a) plot lollipop figure of y(n)

a) I'm assuming you mean a stem plot..
x = [1,-2,0,3,0,2,-1];
n = -3:3;
stem(n,x);

b) type "help conv" in matlab console.

c) follow steps in a).
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top