Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ds-cdma in matlab (code implementation)

Status
Not open for further replies.

debeelab

Newbie level 4
Newbie level 4
Joined
Apr 8, 2009
Messages
5
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Location
Romania
Activity points
1,313
Help pls! am working on ds-cdma project i'm new to matlab can any one pls help with the simulation of ds-cdma. I have gone through the communications toolbox and signal processing toolbox examples in matlab, i'm still not sure which of these two components or is it possible to incorporate both component to simulate the ds-cdma.
 

Re: ds-cdma MUD in matlab(code implementation)

Thanks for your response, Yes i do understand the modulation and demodulation of ds-cdma, the problem is how do i implement this in matlab. Please if you have any previous work or experience in ds-cdma multiuser detection i won't mind you send it by mail to me.
 
Yes, I have experience of ds-cdma simulation in Matlab and beyond, but I cannot "send" it to you.

However, first implement ds-cdma SUD with multiple users and then go through the book of verdu (MUD)

You only have to implement the equations given in that book

I'm here to guide you
 

Hellooo,

Mr. Communication Engineer,

can you help me in implementing DS-CDMA in MATLAB. I have written a code that works perfectly when there is no noise. But when I add AWGN then the results are not appropriate. if you can guide me, then i'll discuss my code with you.

waiting for your reply.

Thanks
 

Dear debeelab,

Thanks for your reply and sharing the code. In your code you are using carrier. I just want to simulate simple DS-CDMA for BPSK in AWGN channel. I have written a code and i can decode signals for different users when there is no noise. I am simulating for 8 users and using Walsh code. Now when I simulate using AWGN channel, the problem is that when there are all the eight users and when there are less users (say 1, 2 or 3 etc.) present in the system, the BER curve is the same. But it should give better BER performance when there are less users as compared to the all 8 users. I know I am doing some mistake in decoding after noise addition but I don't know what is that mistake. I am attaching my code also, if you or someone else can help me in decoding the signal properly, I'll be thankful to you.

Please if anyone can help me understand this concept!!!!

Thanks
 

assadabbasi said:
Dear debeelab,

Thanks for your reply and sharing the code. In your code you are using carrier. I just want to simulate simple DS-CDMA for BPSK in AWGN channel. I have written a code and i can decode signals for different users when there is no noise. I am simulating for 8 users and using Walsh code. Now when I simulate using AWGN channel, the problem is that when there are all the eight users and when there are less users (say 1, 2 or 3 etc.) present in the system, the BER curve is the same. But it should give better BER performance when there are less users as compared to the all 8 users. I know I am doing some mistake in decoding after noise addition but I don't know what is that mistake. I am attaching my code also, if you or someone else can help me in decoding the signal properly, I'll be thankful to you.

Please if anyone can help me understand this concept!!!!

Thanks

Added after 1 minutes:

in fact you use walsh code which make different users orthogonal(condition on synchronization),so no matter there are 1,2,3 users of 8 users in system,multipe user interface have no effect on the intended user,and the ber keep constant

1 try to lose the synchronization for different user then you could see multipe interface

2 try to lower the snr of the channel then you could see ber do change
 

Hi helpful

could u plz help me,,i have tried to simulate the ds-cdma using matlab, but the the erro make me crazy

could u have a look for the attached file and tell me what can i do to run smoothly.

best regards
 

Attachments

  • dscdma.rar
    2 KB · Views: 201

can some one correct my code
 

Attachments

  • cdma.rar
    1 KB · Views: 168

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top