//ZC-51学习板实验源程序 //按键控制继电器--工业控制实验 //http://www.ednchina.com/blog/zhichengdz/ //E-mail: zhicheng_dz@163.com #include #incl…
Relay+Protection 源代码
汇集 Relay+Protection 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
//----------------------------------------------------------------------------- // 版权归新华龙电子公司所有 //------------------------------…
function [relay_structure]=generate_relay_structure(); %为relay创建结构体 rx_structure=generate_rx_structure; relay_structure=str…
%简单main函数,用来测试基本的协同过程 tic nr_of_iterations=1000; %循环次数 SNR=[-10:2.5:15];%dB形式 use_direct_link=1;%直接传输 use_relay=1;%通过伙伴传输 P=…
function [relay]=prepare_relay2send(relay,channel,ps,pr); %relay接收信号,为转发做准备 global signal; switch relay.mode case 'AAF' …
%简单main函数,用来测试基本的协同过程 tic nr_of_iterations=1000; %循环次数 SNR=[-13:2.5:12];%dB形式 use_direct_link=1;%直接传输 use_relay=1;%通过伙伴传输 …
%Cooperative Diversity - Main Sequence tic % -------------- % Set Parameters nr_of_iterations = 100; SNR = [-8:2:8]; use_dir…
%Cooperative Diversity - Main Sequence tic % -------------- % Set Parameters nr_of_iterations = 10^3; SNR = [-10:2.5:15]; us…
%Cooperative Diversity - Main Sequence tic % -------------- % Set Parameters nr_of_iterations = 100; SNR = [-8:2:8]; use_dir…
% Direct link if (use_direct_link == 1) [channel(1), rx] = add_channel_effect(channel(1), rx,... signal.symbol_sequence); rx =…