fo=4; %Sampling of a sine wave
w=2*sin(2*pi*fo*t)+2*sin(2*pi*2*t);
freq=[-N/2:N/2-1];
1.w=Spectra of signal (1 by 64)
2. s=Spectra of spike (1 by 64)
3.C= Convolution of above two (w*s)(127 by 1)
4. Now i want to construct my spectra back with mulipying with Box car How can i do it. I dont know how to multiply my constructed box car with C
I am constructing a box car with
N=64;
dt=.01;
t=dt*[-N/2:N/2-1]
Ts=.01;%Sampling time interval
Fs=1/Ts;%Fs=100
fo=4; %Sampling of a sine wave
w=2*sin(2*pi*fo*t)+2*sin(2*pi*2*t);
freq=[-N/2:N/2-1];
After that what should i do, how i can multiiply convolved function
which is 127 by 1 with box car which is 1 by 64
Also
Size of C (conv function) in time domain is 1 by 64, as in time domain i have done multiplication now how should i want to convolve this with my FFT of boxcar..so that i can construct the signal back n both domains.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.