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.

even and odd samples of sine

Status
Not open for further replies.

ajayreddybireddy

Newbie level 5
Joined
Mar 19, 2008
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,343
hello Professionals

I need some assistance to split even and odd samples of a sinewave, there by each part I have to implement some functions

here is the sinewave in=sin(2*pi*500/8000*(0:63));

for this how to take even and odd samples?

cause for even samples need to implement rad-2 fft and for odd rad-4


please help mee..

I've been trying to get it out but no partials!!!

please... help me..
 

This is a very simple matlab task...
Code:
in_even=sin(2*pi*500/8000*(0:2:63));
in_odd=sin(2*pi*500/8000*(1:2:63));
 

thank you

this code is not suitable for my implementation.

can u give any other alternate way for splitting out input samples into even and odd. It should not based on type of input like sine or some thing else. We can use for splitting any type of data
 

Try use the 'reshape' function:
For Example:
>> a = 1:10;
>> reshape(a,2,5);
>> ans = 1 3 5 7 9
2 4 6 8 10
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top