HOW CAN I BROADEN MY SIN SIGNAL

3 views (last 30 days)
raj
raj on 31 Mar 2012
I need to plot a sin signal and analyse it using a spectrum analzer (periodogram) but i want to broaden the sin signal how is it possible??
  3 Comments
raj
raj on 1 Apr 2012
i want my sin signal now to spread among the other frequency bins also

Sign in to comment.

Accepted Answer

raj
raj on 3 Apr 2012
sin broadening can be taken as a chirp signal or even considering two sin signals which are very close in there frequencies that they cannot be resolved then we can see there is sin broadening
  1 Comment
Walter Roberson
Walter Roberson on 3 Apr 2012
chirp signals do not have flat-topped peaks.
Anyhow, you marked the question as Accepted, so you have come up with an answer suitable for your purpose, right?

Sign in to comment.

More Answers (5)

Rick Rosson
Rick Rosson on 1 Apr 2012
Multiply your sine wave by a narrow window function.
  5 Comments
Walter Roberson
Walter Roberson on 2 Apr 2012
If that is your only requirement, then why are you not _allowed_ to multiply your sine wave by a narrow window function? What other restriction have been placed on the form of your solution?
raj
raj on 2 Apr 2012
The peak should be flat so it is naturally spread among many frequency bins

Sign in to comment.


Image Analyst
Image Analyst on 2 Apr 2012
How about using conv() to convolve your perfect sine signal with some crazy kernel?
  1 Comment
raj
raj on 2 Apr 2012
I didnt get you but can you give the code so that I can try it.

Sign in to comment.


Honglei Chen
Honglei Chen on 2 Apr 2012
Are you just looking for a sin that does not fall on an exact frequency sampling point so on the graph it seems having some kind of leakage, like the code below does?
fs = 128;
N = 32;
f = 10;
t = (0:N-1)/fs;
x = sin(2*pi*f*t);
Nfft = 128;
plot((0:Nfft-1)/Nfft*fs,abs(fft(x,Nfft)))
This doesn't really broaden your sin signal though.

Rick Rosson
Rick Rosson on 2 Apr 2012
Hi Raj,
We are not mind readers, and we are not really interested in pulling teeth to figure out what you need. Please tell us exactly what you are trying to do, why you want to do it a certain way, and what specific constraints or restrictions you are facing.
Also, if you have any MATLAB code that you have started developing, please post it and ask us specific questions related to your code.
Thanks!
Rick
  1 Comment
Walter Roberson
Walter Roberson on 2 Apr 2012
For example are you looking for the equivalent of a zero-order hold but applied in the frequency domain ?

Sign in to comment.


raj
raj on 3 Apr 2012
sin broadening can be taken as a chirp signal or even considering two sin signals which are very close in there frequencies that they cannot be resolved then we can see there is sin broadening

Categories

Find more on Simulation, Tuning, and Visualization in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!