electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

why BPSK matlab coding is diff. than BPSK text book formula


Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital Signal Processing -> why BPSK matlab coding is diff. than BPSK text book formula
Author Message
wilfrid100



Joined: 27 Nov 2005
Posts: 12


Post19 Jun 2008 5:49   

why BPSK matlab coding is diff. than BPSK text book formula


im a newbie for digital communication. currently i hav an assignment regarding on BPSK & QPSK matlab. that hav sthgs which im not understanding btw matlab coding and text book formula.

as wat i read in text book, the BPSK transmitted signal is represented as

S_bpsk(t)=m(t)*√(2Eb/Tb)*cos(ωc*t)

but, in matlab coding (an example)

------------------------------------------------------------------------------------
Ns=100; %vector of length Ns symbols
data=2*round(rand(Ns,1))-1; %this converts 0 into -1, 1 into 1
bpsk=data;
------------------------------------------------------------------------------------

how come the matlab code using a simple -1 & 1 to represent BPSK transmitted signal? (kindly any intelligent can explained this question to me)
Back to top
Google
AdSense
Google Adsense




Post19 Jun 2008 5:49   

Ads




Back to top
bulx



Joined: 07 Aug 2004
Posts: 171
Helped: 24


Post20 Jun 2008 11:04   

Re: why BPSK matlab coding is diff. than BPSK text book form


this ±1 corresponds to just the m(t) in the equation. You have to generate the carrier and mutliply it with your ±1 sequence to get the modulated signal.
-b
Back to top
wilfrid100



Joined: 27 Nov 2005
Posts: 12


Post20 Jun 2008 13:08   

why BPSK matlab coding is diff. than BPSK text book formula


OOooo......now i understand, thk you for ur help...
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital Signal Processing -> why BPSK matlab coding is diff. than BPSK text book formula
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Need source coding in matlab for the bpsk modulator (1)
coding of BPSK demodulator needed (2)
Why BPSK set '1'-->'-1' and '0'-->'+1'? (4)
BER of OFDM,QAM,BPSK in matlab (1)
need matlab code for bpsk transceiver... (5)
i need MATLAB code for DS-BPSK fading simulation urgently (2)
Does any one have QAM,QPSK,BPSK, etc...Matlab codes (21)
Matlab simulation needed for SSB, VSB, QPSK and BPSK signals (2)
BPSK (1)
BPSK (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS