Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

please help me in matlab!

Status
Not open for further replies.

Thommer

Junior Member level 1
Joined
Apr 12, 2005
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,437
Hello!
Please help me to type the following 2 expressions into matlab!
Thank you
Thommer
 

a_shawky

Junior Member level 2
Joined
Mar 19, 2005
Messages
21
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
egypt
Activity points
1,488
dear frind ,

instead of trying to write the sigma (i cant remember that it exisits) do a for loop on the addition between two variables (the new one , and the summation of all the previous)

if that helped you please press on the Helped me button
 

b.pricope

Junior Member level 2
Joined
Oct 27, 2005
Messages
21
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Activity points
1,487
The 2 sums are just convolution of 2 signals.

You can use the matlab conv function. Read help for this.

If you need to implement the convolution yourself tell me and I will provide you a .m file with it!

If it helped you: click helped me, please!
 

    Thommer

    points: 2
    Helpful Answer Positive Rating

anto2

Member level 3
Joined
Dec 1, 2003
Messages
56
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
531
use the cumsum command, and remember think in terms of vectors.
 

Thommer

Junior Member level 1
Joined
Apr 12, 2005
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,437
Thanks for your help, but I solved the problem I used matrix - vector form and
then easily made the convolution instead of dealing with loops
Thommer
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top