91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 77.42MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-18
  • 語言: Matlab
  • 標簽: 數學建模??

資源簡介

《MATLAB在數學建模中的應用(卓金武)》的pdf版本,以及配套書籍的全部源程序文件,供大家學習參考!

資源截圖

代碼片段和文件信息

function?p_temp_sub?=?calculate_probability(mntype);
%n選m時各獎項的獲獎概率
%?type代表當前求解的彩票類型
%?K1型是固定概率,無需在這里計算

if?(type?==?2)
%?K2型的
p_temp_sub=zeros(71);
p_temp_sub(1)=1/mmmcomb(nm);
p_temp_sub(2)=mmmcomb(mm-1)./mmmcomb(nm);
p_temp_sub(3)=mmmcomb(mm-1).*mmmcomb(n-m-11)./mmmcomb(nm);
p_temp_sub(4)=mmmcomb(mm-2).*mmmcomb(n-m-11)./mmmcomb(nm);
p_temp_sub(5)=mmmcomb(mm-2).*mmmcomb(n-m-12)./mmmcomb(nm);
p_temp_sub(6)=mmmcomb(mm-3).*mmmcomb(n-m-12)./mmmcomb(nm);
p_temp_sub(7)=mmmcomb(mm-3).*mmmcomb(n-m-13)./mmmcomb(nm);
elseif?(type?==?3)
%?K3型的
p_temp_sub=zeros(71);
p_temp_sub(1)=1./mmmcomb(nm+1);
p_temp_sub(2)=mmmcomb(n-m-11)./mmmcomb(nm+1);
p_temp_sub(3)=mmmcomb(mm-1).*mmmcomb(n-m-11)./mmmcomb(nm+1);
p_temp_sub(4)=mmmcomb(mm-1).*mmmcomb(n-m-12)./mmmcomb(nm+1);
p_temp_sub(5)=mmmcomb(mm-2).*mmmcomb(n-m-12)./mmmcomb(nm+1);
p_temp_sub(6)=mmmcomb(mm-2).*mmmcomb(n-m-13)./mmmcomb(nm+1);
p_temp_sub(7)=mmmcomb(mm-3).*mmmcomb(n-m-13)./mmmcomb(nm+1);
elseif?(type?==?4)
%?K4型的
p_temp_sub=zeros(71);
p_temp_sub(1)=1./mmmcomb(nm);
p_temp_sub(2)=mmmcomb(mm-1).*mmmcomb(n-m1)./mmmcomb(nm);
p_temp_sub(3)=mmmcomb(mm-2).*mmmcomb(n-m2)./mmmcomb(nm);
p_temp_sub(4)=mmmcomb(mm-3).*mmmcomb(n-m3)./mmmcomb(nm);
p_temp_sub(5)=mmmcomb(mm-4).*mmmcomb(n-m4)./mmmcomb(nm);
p_temp_sub(6)=0;
p_temp_sub(7)=0;
else
error(‘Error?in?calculate_probability!‘);
end


function?combi?=?mmmcomb(nm)
%求從n個數中取出m個數的組合數
if?(isscalar(n))?&&?(isscalar(m))?&&...
(isreal(n))?&&?(isreal(m))?&&?(n>=m)?&&?(m>0)
????combi=factorial(n)./factorial(m)./factorial(n-m);
else
????error(‘A?mistake?occurs?when?calculating?combinations.‘)
end

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????81311937??2017-08-19?19:23??MATLAB在數學建模中的應用.pdf
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第10章\
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第10章\P10-1\
?????文件????????1782??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第10章\P10-1\calculate_probability.m
?????文件????????1756??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第10章\P10-1\cpiao.m
?????文件???????11055??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第10章\P10-1\main.m
?????文件????????4219??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第10章\P10-1\nonlcon.m
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第11章\
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第11章\P11-1\
?????文件????????6067??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第11章\P11-1\main1101.m
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第12章\
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第12章\P12-1\
?????文件????????4206??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第12章\P12-1\Sams.m
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第12章\P12-2\
?????文件?????????763??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第12章\P12-2\Gamain.m
?????文件?????????446??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第12章\P12-2\myfplotcircleGA.m
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第13章\
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第13章\P13-1\
?????文件???????90624??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第13章\P13-1\2009CUMCM?C題.doc
?????文件??????312392??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第13章\P13-1\bhk_med.wav
?????文件???????14725??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第13章\P13-1\Ch13_simulink.m
?????文件?????????157??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第13章\P13-1\重要說明.txt
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第14章\
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第14章\P14-1\
?????文件????????2932??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第14章\P14-1\Ch17_lin.m
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第14章\P14-2\
?????文件????????4270??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第14章\P14-2\Ch17_gaph.m
?????文件???????61440??2013-04-29?23:20??源程序_Maltab在數學建模中的應用_卓金武等_201103\第14章\P14-2\關于程序14-2的運行說明.doc
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第15章\
?????目錄???????????0??2017-08-19?19:29??源程序_Maltab在數學建模中的應用_卓金武等_201103\第15章\P15-1\
............此處省略128個文件信息

評論

共有 條評論