HOW CAN I BROADEN MY SIN SIGNAL

조회 수: 2 (최근 30일)
raj
raj 2012년 3월 31일
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
raj
raj 2012년 4월 1일
case 2
raj
raj 2012년 4월 1일
i want my sin signal now to spread among the other frequency bins also

댓글을 달려면 로그인하십시오.

채택된 답변

raj
raj 2012년 4월 3일
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
Walter Roberson
Walter Roberson 2012년 4월 3일
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?

댓글을 달려면 로그인하십시오.

추가 답변 (5개)

Rick Rosson
Rick Rosson 2012년 4월 1일
Multiply your sine wave by a narrow window function.
  댓글 수: 5
Walter Roberson
Walter Roberson 2012년 4월 2일
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 2012년 4월 2일
The peak should be flat so it is naturally spread among many frequency bins

댓글을 달려면 로그인하십시오.


Image Analyst
Image Analyst 2012년 4월 2일
How about using conv() to convolve your perfect sine signal with some crazy kernel?
  댓글 수: 1
raj
raj 2012년 4월 2일
I didnt get you but can you give the code so that I can try it.

댓글을 달려면 로그인하십시오.


Honglei Chen
Honglei Chen 2012년 4월 2일
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 2012년 4월 2일
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
Walter Roberson
Walter Roberson 2012년 4월 2일
For example are you looking for the equivalent of a zero-order hold but applied in the frequency domain ?

댓글을 달려면 로그인하십시오.


raj
raj 2012년 4월 3일
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

카테고리

Help CenterFile Exchange에서 Simulation, Tuning, and Visualization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by