math - Dot product of a sinusoid with a complex tone in Octave -


i trying figure out how solve problem;

now make new sinusoid amplitude 1 , frequency 1000hz. calculate dot product of sinusoid complex tone using vector multiplication between heterodyne , transposed complex tone signal.

so far no good. have managed represent complex tone by:

octave:65> t = [0 : 441]; octave:68> = 0.25; octave:69> x = a*sin(2*pi*t*441) + a*sin(2*pi*t*882) + a*sin(2*pi*t*1323) + a*sin(1764*pi*t*2); 

and new sinusoid

 octave:66> y = sin(pi*2*t*1000); 

now find myself trapped heterodyne concept , application. can tell vector multiplication like;

octave:75> abs(y*x') 

however, parameter 'y' needs the heterodyne of 'y'(i guess), driving me nuts...

any suggestion appreciated


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -