资源简介:
MATLAB程序下载——一PCNN彩色图像分割。
%– OLAsimulate.m
close all;
clear all;
Ths_db = [0:7]; % SNR
Ths = 10.^(Ths_db./10);
BERavg = zeros(length(Ths),1);
BER_ideal = zeros(length(Ths),1);
BER_std = zeros(length(Ths),1);
conn = zeros(length(Ths),1);
h3 = waitbar(0,’Simulation running’);
load OLAnode60a;
for runs = 1:length(Ths)
%– inputs to OLAtraining
Th = Ths(runs);
pulsepower=100; % for snr values 0-4dB
% pulsepower=200; % for snr values 5-7dB
OLAtraining;
%– inputs to OLATransmission
dataLen=500; % for snr values 0-2dB
% dataLen=1000; % for snr values 3-5dB
% dataLen=2000; % for snr values 6B
% dataLen=3000; % for snr values 7dB
error_prop = 1;
% error_prop = 0; % for snr values 0-5dB, datalen = 300; pulsepower=100;
OlaTransmission;
BERavg(runs) = pe_avg;
BER_ideal(runs) = PE_ideal;
BER_std(runs) = std_ber;
conn(runs) = num_conn;
waitbar(runs/length(Ths),h3);
end
close(h3);
save errorprop02p.mat Ths_db BERavg BER_ideal BER_std conn
% save errorprop34p.mat Ths_db BERavg BER_ideal BER_std conn
% save errorprop5pa.mat Ths_db BERavg BER_ideal BER_std conn
% save errorprop6pa.mat Ths_db BERavg BER_ideal BER_std conn
% save errorprop7pa.mat Ths_db BERavg BER_ideal BER_std conn
% save noerrorprop.mat Ths_db BERavg BER_ideal BER_std conn
下载:
今天的文章matlab专业代做hslogic,MATLAB代做|FPGA代做–OLA算法的仿真与分析分享到此就结束了,感谢您的阅读,如果确实帮到您,您可以动动手指转发给其他人。
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/32580.html