Sign in

Not a member? | Forgot your Password?

Search matlab

Search tips

Find us on Facebook!





Subscribe to matlab

Search tips

Free PDF Downloads

A Quadrature Signals Tutorial: Complex, But Not Complicated

Understanding the 'Phasing Method' of Single Sideband Demodulation

Complex Digital Signal Processing in Telecommunications

Introduction to Sound Processing

C++ Tutorial

Introduction of C Programming for DSP Applications

Fixed-Point Arithmetic: An Introduction

Cascaded Integrator-Comb (CIC) Filter Introduction

Discussion Groups

FIR Filter Design Software

See Also

Embedded SystemsFPGA

Discussion Groups | Matlab DSP | ASK waveform


Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread



Is this thread worth a thumbs up?

0

ASK waveform - joshln - Jan 29 17:27:00 2005



Does any one know how to generate an ASK waveform on MatLab, the
data stream is [11000101].Thanks







Re: ASK waveform - georges zaki - Jan 30 17:16:00 2005

Hi joshln
 
you can generate ASK by using the command find
 
data = [ 1 0 0 1 1 0 0 0 1 ];
zeros = find( data == 0 );
ones = fidn ( data == 1  );
 
mapped_signal( ones ) = 1;%assume 1 i mapped to 1
mapped_signal( zeros ) = -1;%assume 0  is mapped to -1
Best regards
George

n...@yahoo.com> wrote:


  Does any one know how to generate an ASK waveform on MatLab, the
data stream is [11000101].Thanks


NEW!  You can now post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/matlab/1.php

_____________________________________
/groups/matlab/1.php

To Post:  Send an email to m...@yahoogroups.com

Other DSP Related Groups: http://www.dsprelated.com/groups.php



Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail





Re: ASK waveform - Tarang Dadia - Feb 1 13:21:00 2005


Joshln,

What do you mean by ASK wave? Do you want to generate an upconverted
wave (modulating a carrier) or just different amplitude for zeros and
ones?

Tarang On Sat, 29 Jan 2005 21:27:10 -0000, joshln <> wrote: > Does any one know how to generate an ASK waveform on MatLab, the
> data stream is [11000101].Thanks >
> To






Re: ASK waveform - Jeff Brower - Feb 1 22:24:00 2005

Tarang-

> What do you mean by ASK wave? Do you want to generate an upconverted
> wave (modulating a carrier) or just different amplitude for zeros and
> ones?
> > Does any one know how to generate an ASK waveform on MatLab, the
> > data stream is [11000101].Thanks

I think Josh LN simply means OOK, or on-off sine wave:

A = [11000101]

m = 0
for i=0 to len(A)-1
for n=0 to N-1
ask[m++] = A[i]*sin(2*pi*n*f/M)

where N is modulation pulse width, f is carrier, and M is sampling rate.

-Jeff







Re: ASK waveform - Tarang Dadia - Feb 1 23:10:00 2005


Yes Jeff that sounds good.. just one more thing should be taken care
that N should be integral multiple of M ( its not a rule but a good
practise otherwise the spectrum will have lot of sidebands )

Hope this helps
Tarang On Tue, 01 Feb 2005 20:24:18 -0600, Jeff Brower <> wrote:
> Tarang-
>
> > What do you mean by ASK wave? Do you want to generate an upconverted
> > wave (modulating a carrier) or just different amplitude for zeros and
> > ones?
> > > Does any one know how to generate an ASK waveform on MatLab, the
> > > data stream is [11000101].Thanks
>
> I think Josh LN simply means OOK, or on-off sine wave:
>
> A = [11000101]
>
> m = 0
> for i=0 to len(A)-1
> for n=0 to N-1
> ask[m++] = A[i]*sin(2*pi*n*f/M)
>
> where N is modulation pulse width, f is carrier, and M is sampling rate.
>
> -Jeff






Re: ASK waveform - Jeff Brower - Feb 2 12:47:00 2005

Tarang-

> Yes Jeff that sounds good.. just one more thing should be taken care
> that N should be integral multiple of M ( its not a rule but a good
> practise otherwise the spectrum will have lot of sidebands )

Yes otherwise there is a lot of edge noise. Or the pulse can be windowed prior to
transmission... but not as good.

-Jeff > On Tue, 01 Feb 2005 20:24:18 -0600, Jeff Brower <> wrote:
> > Tarang-
> >
> > > What do you mean by ASK wave? Do you want to generate an upconverted
> > > wave (modulating a carrier) or just different amplitude for zeros and
> > > ones?
> > > > Does any one know how to generate an ASK waveform on MatLab, the
> > > > data stream is [11000101].Thanks
> >
> > I think Josh LN simply means OOK, or on-off sine wave:
> >
> > A = [11000101]
> >
> > m = 0
> > for i=0 to len(A)-1
> > for n=0 to N-1
> > ask[m++] = A[i]*sin(2*pi*n*f/M)
> >
> > where N is modulation pulse width, f is carrier, and M is sampling rate.
> >
> > -Jeff