Mar 31, 2011 #1 A 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..
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..
Mar 31, 2011 #2 J JoannesPaulus Advanced Member level 3 Joined Mar 19, 2008 Messages 773 Helped 235 Reputation 470 Reaction score 138 Trophy points 1,323 Location USA Activity points 5,006 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));
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));
Apr 1, 2011 #3 A 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 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
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
Apr 1, 2011 #4 S stevenchen1979 Newbie level 2 Joined Aug 27, 2008 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,288 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
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