会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FireFox_xjtu
博客园
首页
新随笔
联系
管理
订阅
2019年9月6日
蚁群算法的优化计算
摘要: 内容参考 matlab 智能计算30个案例分析
阅读全文
posted @ 2019-09-06 10:57 FireFox_xjtu
阅读(511)
评论(0)
推荐(0)
2019年5月8日
字符串反转
摘要: 1 public class strReverseWithArray{ 2 public static String strReverseWithArray(String string){ 3 if(string == null||string.length()==0) return string; 4 int length = string.le...
阅读全文
posted @ 2019-05-08 11:43 FireFox_xjtu
阅读(144)
评论(0)
推荐(0)
反序输出
摘要: 1 public class NumberInverse { 2 private int amount; 3 private String stringOutput; 4 private int inverseInt; 5 public NumberInverse(int input){ 6 if(input>99999||input ...
阅读全文
posted @ 2019-05-08 10:26 FireFox_xjtu
阅读(218)
评论(0)
推荐(0)
2018年9月25日
计算方法B_LU分解
摘要: %矩阵LU分解 %2018 09 25 %by wu penghao A=rand(10,10); u=zeros(10,10); l=zeros(10,10); n=length(A); %u(1,j)=A(1,j) for i=1:1:n u(1,i)=A(1,i); end %a(k,1)=A(k,1)/u(1,1) for j=1:1:n l(j,1)=A(j,1)/u(1,1)...
阅读全文
posted @ 2018-09-25 20:44 FireFox_xjtu
阅读(443)
评论(0)
推荐(0)
计算方法B_列主元高斯消去
摘要: %列主元高斯消去法 %by wu penghao A=rand(10,10); b=rand(10,1); x_c=A\b; %真实值 x=zeros(10,1); n=length(A); %消去过程 for k=1:1:n-1 max=abs(A(k,k)); m=k; for i=k:1:n if max<abs(A(i,k)) max...
阅读全文
posted @ 2018-09-25 11:07 FireFox_xjtu
阅读(152)
评论(0)
推荐(0)
计算方法B_高斯消去
摘要: %计算方法No.1 %20180916 by wupenghao %高斯消去 %!!!循环中的步长一定要设置准确,+1和-1等,一定要注意!!! A=rand(10,10); b=rand(10,1); x=A\b; %消元 cof=zeros(10,1); root=zeros(10,1); for k=1:1:9 for i=k+1:length(A) cof(i)...
阅读全文
posted @ 2018-09-25 11:05 FireFox_xjtu
阅读(96)
评论(0)
推荐(0)
公告