搜题
网友您好,请在下方输入框内输入要搜索的题目:
搜题
题目内容 (请给出正确答案)
提问人:网友sbdx456 发布时间:2022-01-07
[主观题]

Write MATLAB codes to implement DSSS system sinmul...

Write MATLAB codes to implement DSSS system sinmulation, The system is a 2-user system with a 2-path frequency selective fadingchannel for each user, The power for each path is half the total transmit power for each user. A RAKR receiver with ideal channel estimation should be used in the receiver for each user. The relative delay between two paths is 1 chip. BPSK modulation is assumed. The BER-versus SNR curve should be drawn for both users. The SNR is defined byWrite MATLAB codes to implement DSSS system sinmul, and is assumed to change from 0 dB to 10 dB with step 1 dB. The simulation results should be compared with the theoretical BER versus SNR curve in flat Rayleigh fading channel.

A、N_Trials=300; N_number=100; N_snr=10; N_users=2; N_path=2; Delay=1; Q=16; N_samples=N_number*Q; E_M=0; for trials=1:N_Trials trials noise=randn(N_users.*N_path,Q*N_number)+j.*randn(N_users*N_path,Q*N_number); s10=round(rand(N_users,N_number)); ss_user=s10*2-1; % without consideration of delayed path pn01=round(rand(N_users,Q)); pn=(pn01.*2-1)./sqrt(Q); S_spread=[]; for user=1:N_users s=kron(ss_user(user,:), pn(user,:)); S_spread=[S_spread; s]; end S_multipath=[]; for user=1:N_users s_user=S_spread(user,:); Suser_delayed=[zeros(1,Delay), s_user(1,1:(N_samples-Delay))]; S_multipath=[S_multipath; [s_user;Suser_delayed]]; end %___________the following is to generate Rayleigh fading coefficients N=N_users.*N_path; fad_c=fading(8,0.005,N_samples, N); fad=fad_c.'; % only use the amplitude; %phase is not used, which is equivalent to have an ideal phase %compensation by using channel equalization S_spread=S_multipath.*fad; %S_spread is the signal matrix of size users x N_number sgma=1; Error_M=[ ]; for snr_db=0:1:N_snr snr=10.^(snr_db./10)/2; %Evaluate the SNR from SNR in dB N0=2*sgma.^2; Eb=snr.*N0; yy=sqrt(Eb./2)*S_spread+noise; %received spread signals in the baseband Error_v_user=[]; for user=1:N_users y_path1=yy((user-1).*N_path+1, :); y_path_temp=yy((user-1).*N_path+2, :); y_path2=[y_path_temp(1,Delay+1:N_samples), zeros(1,Delay)]; Y_M_path1=[ ]; Y_M_path2=[]; for k=1:N_number ym1=y_path1(1,(k-1)*Q+1:k*Q); ym2=y_path2(1,(k-1)*Q+1:k*Q); Y_M_path1=[Y_M_path1;ym1]; Y_M_path2=[Y_M_path2;ym2]; end % Y_M is a matrix of size N_number x Q, each row correspinding to a % BPSK symbol ys=Y_M_path1*pn(user,:).'+Y_M_path2*pn(user,:).'; %despreading for a user y=ys.'; y_real=real(y); s_e=sign(y_real); s_e10=(s_e+1)./2; Error_snr=sum(abs(s10(user,:)-s_e10)); Error_v_user=[Error_v_user;Error_snr./N_number]; %A BER collumn vector for all the users and for each snr end %for user Error_M=[Error_M,Error_v_user]; %BER matrix for all users and for all the SNRs end % end for snr E_M=E_M+Error_M ; end % end for trials BER=E_M./N_Trials; BER_T=[ ]; for snr_db=0:1:N_snr snr=10.^(snr_db./10); temp=sqrt(snr./(1+snr)); BER_THEROY=(1-temp)/2; BER_T=[BER_T,BER_THEROY]; end i=0:1:N_snr; semilogy(i,BER(1,:),'-r',i,BER(2,:),'ob',i,BER_T ,'*g'); xlabel('E_b/N_0(dB)') ylabel('BER') legend('User1 RAKE','User2 RAKE', 'Theoretical flat fading');Write MATLAB codes to implement DSSS system sinmul

B、no need

C、no need

D、no need

简答题官方参考答案 (由简答题聘请的专业题库老师提供的解答)
  抱歉!暂无答案,正在努力更新中……
更多“Write MATLAB codes to implement DSSS system sinmul...”相关的问题
第1题
Write the MATLAB codes to realize the modulation and demodulation simulations of QPSK in AWGN. Draw the BER versus SNR curve and compare the results with theoretical results.
点击查看答案
第2题
Course: Digital Image Processing Homework: #1 Due ...

Course: Digital Image Processing Homework: #1 Due date: 15/3/2020 Note: 1) This is individual work. However, peer discussion is encouraged. 2) For every programming assignment, clearly document your code so that the Teaching Associate (TA) can follow your algorithms easily. Include the output images of your functions in the report. *************************************************************************** Question 1. Using the attached two images lenna_low_contrast with size 256 by 256, and lenna_original with size 512 by 512, write your Matlab codes to perform the following tasks: a. Up-sampling images lenna_low_contrast to size 512 by 512, and show the processed image IUS; b. Down-sampling the image lenna_original to size 256 by 256, and show the processed image IDS; c. Give your comments on processed images IUS and IDS. Please tell the difference of up-sampling and down-sampling processing. Question 2. The following table gives the number of pixels at each of the gray levels 0-15 in an image with those gray values only. a. Draw the histogram corresponding to these gray levels b. Perform histogram equalization c. Draw the resulting histogram. d. Analyze why the resulting histogram is not exactly same 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 20 40 60 75 80 75 65 55 50 45 40 35 30 25 20 30 Question 3. Write your Matlab code to enhance the image lenna_low_contrast by using a. appropriate point processing; b. histogram equalization; c. spatial filter d. Compare and analyze their performances.

点击查看答案
第3题
Part ADirections :Read the following three texts. Answer the questions on each text by cho

Part A

Directions :

Read the following three texts. Answer the questions on each text by choosing A, B, C or D. Mark

your answers on ANSWER SHEET1

Text 1

Help, I' ve fallen into a sea of personal identification numbers(PIN) -and I can' t get out.It's my third call in as many weeks and I recognize Beth' s voice immediately. I'm hoping she doesn't recognize mine, but it' s obvious by her sudden shift from warm to frosty that she does. " You probably know why I' ve called, " I say. "I can guess, " Beth responds flatly, having dealt with my type dozens of times already today. "Password problem?" She was right, I had for-gotten it again.

Like millions of others, I' m stuck in password hell. With computer key chains, bank card PINs, voice-mail codes, and home alarm systems, things have spun out of control. I have 32 se-cret codes(that I can think of) .

Experts warn that the best way to protect against identity theft is to never reuse or write down

your passwords and always be casual in your selections-don' t use pet names, or especially the names of ex-girlfriends. And it' s recommended to change passwords often. But come on. Making it impossible for others to access your life only makes living your life impossible. Surveys indicate that most people use the same one or two passwords for everything. After all, it's not easy to pro- duce something casual, yet memorable. " When the information doesn' t apply to anything in the re-al world, it's very hard to get from the brain," says Albert Katz, a psychology professor. That's why some are shifting to picture passwords. Since the pictures can' t be written down or shared with another person, they're more secure. And pictures, says Katz ,are easier for the human brain to remember than numbers and letters.

Better still is the day when access to everything will be just a fingerprint. But poor Beth will remain my Internet-banking savior, "All you need to do," says Beth, "is tell me the secret pass- word you set up for security purposes. " What? If I can't remember my PIN, how do you expect

me to remember some secret word? But on my third try I guess it and am once again allowed ac-

cess to my very small fortune. I thank Beth, but don't make any promises. Both of us know we'

11 speak again soon.

46. From the text we learn that the writer _________.

[A] has a declining memory

[B] has too many secret codes

[C] has trouble dealing with Beth '

[D] has problems with his bank accounts

点击查看答案
第4题
&8226;Read the text below about opinions on ethics and mission statements.&8226;In most of

&8226;Read the text below about opinions on ethics and mission statements.

&8226;In most of the lines 34--45 there is one extra word. It is either grammatically incorrect or does not fit in with the meaning of the text. Some lines, however, are correct.

&8226;If a line is correct, write CORRECT on your Answer Sheet.

&8226;If there is an extra word in the line, write the extra word in CAPITAL LETTERS on your Answer Sheet.

Ethics and Mission Statements

Correct As business emerged from the profit-oriented 1980s, values and social

on responsibilities were being emphasized on in corporate mission statements.

34 Because Greed was out, and ethics were in. Businesses and their employees

35 became actively engaged in less activities that contributed to their communities.

36 To spell out their goals, companies were increasingly developed codes of ethics.

37 Mission statements that were written because they required consensus and

38 commitment. Not everyone who, however, agreed with the trend toward the

39 strong social stances of some public corporations. Respected economist Milton

40 Friedman contended, "Many Few trends could so thoroughly undermine the very

41 foundation of our free society as the acceptance by corporate officials of a social

42 responsibility other than to make as much more money for their stockholders as

43 possible." The CEO of Levi Strauss & Co. expressed another one viewpoint about

44 mission statements, saying that "our compliance-based program sent to a

45 disturbing message to our people--WE DON'T RESPECT YOUR

INTELLIGENCE OR TRUST YOU!"

(34)

点击查看答案
第5题
Why did the highway in northern California collapse?A.There were fatal mistakes in its des

Why did the highway in northern California collapse?

A.There were fatal mistakes in its design.

B.The builder didn’t observe the building codes of the time.

C.The traffic load went beyond its capacity.

D.It was built according to less strict earthquake-resistance standards.

点击查看答案
第6题
By reading The Open and Closed Mind, we may ______.A.find a way of solving the Denny Doodl

By reading The Open and Closed Mind, we may ______.

A.find a way of solving the Denny Doodlebug problem

B.realize how little we know about the complexity of human behavior

C.bring m light codes of some societies which we didn't know before

D.be aware of the difficulties of communications between different cultures

点击查看答案
第7题
Read the following passage and fill in each blank with one word. Choose the correct word i
n one of the following three ways: according to the context, by using the correct form of the given word, or by using the given letters of the word. Remember to write the answers on the answer sheet. Did you know that for every 20,000 novels written, only one gets published? So the (1) ____ (likely) that I’ll ever fulfill my ambition of becoming a professional mystery writer doesn’t seem very high. But the prospect of turning my lifelong passion into my livelihood and achieving fame and (2) for ______ at the same time is just too exciting for me to be put off by dull statistics. So what does it (3) t_______ to become a writer? Reading is important—all writers need to research their genre thoroughly to familiarize themselves (4) _______ its codes and conventions. My bookshelves at home are stacked with the novels of all the great mystery writers, which I’ve read and in many cases, re-read, despite (5) _______ (know) all the time ―who’d done it‖. Of course, being a writer requires imagination. You have to develop your own personal style rather than simply copy the work of ―the greats‖. I’ve turned out (6) d________ of short crime stories for my university student magazine—some have been published, some not, but I’ve always aimed to produce original and imaginative material. Last but not (7) ________, successful writers possess enormous self-discipline. I’ve often sacrificed my social life in order to devote the necessary time and effort to producing a good quality story. And more than once that has meant (8) _______ the midnight oil. We’ve got a novel inside us. Getting it out in anywhere near publishable form is no (9) ______ task, but with imagination and determination, and the help of an expert on ―master class‖, who could possibly fail to (10) re_______ their ambition?

点击查看答案
第8题
一组包含不同权的字母已经对应好Huffman编码,如果某一个字母对应编码001,下面说法正确的有 A gro
up of letters with different weights has corresponded with Huffman codes, if a letter’s corresponding code is 001, which sentences of the followings are right:

A、以001开头的编码不可能对应其他字母。A code beginning with 001 couldn’t correspond with other letters.

B、以000开头的编码不可能对应任何字母。Codes beginning with 000 couldn’t correspond with any letter.

C、以01开头和1开头的编码肯定对应某个字母。Codes beginning with 01 or 1 must correspongding with some letters.

D、建好的Huffman树至少包含4个叶结点。The Huffman tree contains at least 4 leaf nodes.

E、编码0和00可能对应于其他字母。Code 0 and 00 could corresponding with other letters.

点击查看答案
第9题
According to the interviewee, what brings South Central Asia higher risk?A.The building co

According to the interviewee, what brings South Central Asia higher risk?

A.The building codes don"t suit the development.

B.The big earthquakes take place where people live.

C.The population of that area is too dense.

D.The frequency of earthquakes is getting higher.

点击查看答案
第10题
By reading The Open and Closed Mind, we may ______.A.find a way of solving the Denny Doodl

By reading The Open and Closed Mind, we may ______.

A.find a way of solving the Denny Doodlebug problem

B.realize how little we know about the complexity of human behavior

C.bring to light codes of some societies which we didn't know before

D.be aware of the difficulties of communications between different cultures

点击查看答案
重要提示: 请勿将账号共享给其他人使用,违者账号将被封禁!
查看《购买须知》>>>
重置密码
账号:
旧密码:
新密码:
确认密码:
确认修改
购买搜题卡查看答案
购买前请仔细阅读《购买须知》
请选择支付方式
微信支付
支付宝支付
点击支付即表示你同意并接受《服务协议》《购买须知》
立即支付
搜题卡使用说明

1. 搜题次数扣减规则:

功能 扣减规则
基础费
(查看答案)
加收费
(AI功能)
文字搜题、查看答案 1/每题 0/每次
语音搜题、查看答案 1/每题 2/每次
单题拍照识别、查看答案 1/每题 2/每次
整页拍照识别、查看答案 1/每题 5/每次

备注:网站、APP、小程序均支持文字搜题、查看答案;语音搜题、单题拍照识别、整页拍照识别仅APP、小程序支持。

2. 使用语音搜索、拍照搜索等AI功能需安装APP(或打开微信小程序)。

3. 搜题卡过期将作废,不支持退款,请在有效期内使用完毕。

请使用微信扫码支付(元)

订单号:

遇到问题请联系在线客服

请不要关闭本页面,支付完成后请点击【支付完成】按钮
遇到问题请联系在线客服
恭喜您,购买搜题卡成功 系统为您生成的账号密码如下:
重要提示:请勿将账号共享给其他人使用,违者账号将被封禁。
发送账号到微信 保存账号查看答案
怕账号密码记不住?建议关注微信公众号绑定微信,开通微信扫码登录功能
警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

- 微信扫码关注简答题 -
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反简答题购买须知被冻结。您可在“简答题”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
- 微信扫码关注简答题 -
请用微信扫码测试
欢迎分享答案

为鼓励登录用户提交答案,简答题每个月将会抽取一批参与作答的用户给予奖励,具体奖励活动请关注官方微信公众号:简答题

简答题官方微信公众号

简答题
下载APP
关注公众号
TOP