Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to draw burst signal in Matlab?

455 views
Skip to first unread message

Wong Wong

unread,
Oct 22, 2009, 1:22:18 PM10/22/09
to
what is the programming codes used to draw a simple burst signal in Matlab?

Wayne King

unread,
Oct 22, 2009, 1:34:23 PM10/22/09
to
"Wong Wong" <joey...@hotmail.com> wrote in message <hbq4ca$ebj$1...@fred.mathworks.com>...

> what is the programming codes used to draw a simple burst signal in Matlab?

Hi Wong, Can you please be more specific what you define as a "simple burst" signal. I think you have to be more exact in your description before people will be able to help you.

wayne

Joey W

unread,
Oct 24, 2009, 9:16:02 AM10/24/09
to
"Wayne King" <wmki...@gmail.com> wrote in message <hbq52v$21t$1...@fred.mathworks.com>...

Dear wayne,
oops, sorry..okay, currently I am doing a project on Spectral Analysis of Discrete Fourier Transform(DFT) signals using Matlab, i need to identify some DFT parameter such as Signal length, DFT length, windowing effect and to learn the effect of varying these DFT parameters for signal analysis. So far i have done analysis on simple sine wave x[n]=sin(2*pi*fo*n*(Ts)) , and by perfoming fft(x) I can get the frequency content of the signal..Now, i need to do spectral analysis on some other waveforms, such as square wave, triangle wave and burst signal..thats why i need to know the programming code or the Equation for square wave(which consists of a few frequency), and burst signal.. I have no idea how to write coding to represent a square wave and burst signal, hope you can help me..thankyou..

Regards,
Wong

Wayne King

unread,
Oct 25, 2009, 7:32:01 AM10/25/09
to
"Joey W" <joey...@hotmail.com> wrote in message <hbuumi$k44$1...@fred.mathworks.com>...

Hi Wong, the Signal Processing Toolbox has a number of waveform generation utilities including a square wave. If you read the documentation, these are easy to find.

At the Matlab command prompt type:
>>doc
Then select the icon for Signal Processing Toolbox. In the top left hand side of the product page, you select "Functions-By Category", then "Waveform Generation".

Alternatively, via the web go to:
http://www.mathworks.com/access/helpdesk/help/toolbox/signal

Select "Functions-By Category" and then "Waveform Generation"

Hope that helps,
wayne

Joey W

unread,
Oct 26, 2009, 12:19:01 AM10/26/09
to
"Wayne King" <wmki...@gmail.com> wrote in message <hc1cvh$6ct$1...@fred.mathworks.com>...

Hi Wayne,
oh ya, i saw that... there are square, sawtooth, aperiodic triangle and so on.. But what about burst signal? Can u teach me how to generate burst signal in coding?

Regards,
Wong

NZTideMan

unread,
Oct 26, 2009, 3:00:13 PM10/26/09
to
On Oct 26, 5:19 pm, "Joey W" <joeyws...@hotmail.com> wrote:
> "Wayne King" <wmkin...@gmail.com> wrote in message <hc1cvh$6c...@fred.mathworks.com>...
> > "Joey W" <joeyws...@hotmail.com> wrote in message <hbuumi$k4...@fred.mathworks.com>...
> > > "Wayne King" <wmkin...@gmail.com> wrote in message <hbq52v$21...@fred.mathworks.com>...
> > > > "Wong Wong" <joeyws...@hotmail.com> wrote in message <hbq4ca$eb...@fred.mathworks.com>...

> > > > > what is the programming codes used to draw a simple burst signal in Matlab?
>
> > > > Hi Wong, Can you please be more specific what you define as a "simple burst" signal. I think you have to be more exact in your description before people will be able to help you.
>
> > > > wayne
>
> > > Dear wayne,
> > > oops, sorry..okay, currently I am doing a project on Spectral Analysis of Discrete Fourier Transform(DFT) signals using Matlab, i need to identify some DFT parameter such as Signal length, DFT length, windowing effect and to learn the effect of varying these DFT parameters for signal analysis. So far i have done analysis on simple sine wave x[n]=sin(2*pi*fo*n*(Ts)) , and by perfoming fft(x) I can get the frequency content of the signal..Now, i need to do spectral analysis on some other waveforms, such as square wave, triangle wave and burst signal..thats why i need to know the programming code or the Equation for square wave(which consists of a few frequency), and burst signal.. I have no idea how to write coding to represent a square wave and burst signal, hope you can help me..thankyou..
>
> > > Regards,
> > > Wong
>
> > Hi Wong, the Signal Processing Toolbox has a number of waveform generation utilities including a square wave. If you read the documentation, these are easy to find.
>
> > At the Matlab command prompt type:
> > >>doc
> > Then select the icon for Signal Processing Toolbox. In the top left hand side of the product page, you select "Functions-By Category", then "Waveform Generation".
>
> > Alternatively, via the web go to:
> >http://www.mathworks.com/access/helpdesk/help/toolbox/signal
>
> > Select "Functions-By Category" and then "Waveform Generation"
>
> > Hope that helps,
> > wayne
>
> Hi Wayne,
> oh ya, i saw that... there are square, sawtooth, aperiodic triangle and so on.. But what about burst signal? Can u teach me how to generate burst signal in coding?
>
> Regards,
> Wong

We cannot help you because we do not know what you mean by "burst
signal".
Do you mean something like this:
z=zeros(1000,1);
z(500)=1;
i.e. a Dirac delta?
Or what?

michelle

unread,
Jul 8, 2014, 2:31:09 PM7/8/14
to
NZTideMan <mul...@gmail.com> wrote in message <5954d469-66d6-4fcc...@12g2000pri.googlegroups.com>...
Hi both,

I am not an expert on matlab, not even in signal processing but I guess what Wong means by burst signal is described here:
http://books.google.co.uk/books?id=3lGJWtjGDzsC&pg=PA42&lpg=PA42&dq=burst+signal+definition&source=bl&ots=Poaud1SJzZ&sig=SgQr37mRuH56Y4qNFb5aaC5UkAs&hl=es&sa=X&ei=7ze8U9bDDcvtPKSRgJAN&ved=0CIIBEOgBMAk#v=onepage&q=burst%20signal%20definition&f=false

I am just dealing with some of that in system ID and actually having problems understanding that signal maybe someone else who read that would explain it please?

Best wishes
Michelle
0 new messages