Coop

所属分类:图形图像处理
开发工具:matlab
文件大小:8355KB
下载次数:29
上传日期:2012-11-19 04:07:21
上 传 者gzm_swat
说明:  cooperative transmission 程序。 50个用户,包括AP。 计算 cooperative 策略。绘制图像,计算概率。并且计算有关能量损耗大小。
(cooperative transmission program. 50 users, including the AP. Calculate the cooperative strategy. Draw the image to calculate the probability. And calculate the size of the relevant energy loss.)

文件列表:
alpha_energy_parameters001.m (2255, 2012-11-16)
bound.m (289, 2012-11-16)
phy_coop_self.m (6228, 2012-11-16)
test_alpha_energy_parameters001_XP.mat (11059416, 2012-11-16)
test_phy_alpha.m (18535, 2012-11-16)

phy_coop_self.m -- this is the primary function that you are interested in. It is where the cooperative recruitment protocol (Table I in my paper) is implemented and where the direct, phase I, and phase 2 rates are calculated (with these, you can compute the cooperative rate). You can deduce the meaning of the input and output arguments from the comments and by looking in alpha_energy_parameters001.m. alpha_energy_parameters001.m -- this file contains all of the simulation parameters. Most of these parameters match those in Table II in my paper. There are some additional parameters that are used in phy_coop_self.m. test_phy_alpha.m -- this file gives you an example of how to run phy_coop_self.m (i.e. how to generate the inputs to to the phy_coop_self function). There are two ways to run this code, depending on what you keep commented and what you keep uncommented. Specifically, there is one section that begins "%% Load already generated data (uncomment below code)." This segment of code, which is currently uncommented, loads previously generated data from a matlab record file (test_alpha_energy_parameters001.mat, which I've also attached to this email). There is a second section that says "%% Or ... Generate new data (uncomment everything below - expect long execution time." If you uncomment this section of code, and comment the previously mentioned section, then you will essentially generate the data that is in test_alpha_energy_parameters001.mat." This takes a long time, which is why I saved the data to a separate file in the first place. You will see that when you run test_phy_alpha.m you will get several of the plots that are in my paper. bound.m -- this is a function that is used in test_phy_alpha.m. It is just a simple helper function used to simplify a computation.

近期下载者

相关文件


收藏者