06 2017 档案
摘要:/* 有规律图形打印 1 5 2 8 6 3 10 9 7 4 */ void PImage(){ //i,j表示循环变量,数组a存放并打印显示,n表示图形大小 int i, j, a[100][100], n, k; k = 1;//从数字1开始存放 n = 4;//图形为4*4 for (i = 1;...
阅读全文
摘要:文献[1],交互多模型粒子滤波器 提出了一个新的方法:基于马尔科夫交换系统的多模型粒子滤波器。该滤波器利用交互式模型过滤器(IMM)和正则化粒子滤波器(正则化粒子滤波器概率密度是高斯概率密度的混合)的相互作用来处理非线性和非高斯噪声。在每个模式中使用固定数量的粒子,可避免现有的马尔科夫交换系统的多模
阅读全文
摘要:package mail; /** * @Description:邮件信息类 * * @ClassName: SimpleMail */ public class Mail { /** * 主题 */ private String subject; /** ...
阅读全文
摘要://计算1/1!-1/3!+1/5!-1/7!+…+(-1)^(n+1)/(2n-1)! float mathTest(int n){ int sign = 1; float sum = 1, t = 1; for (int i = 1; i > n; for (int i = 0; i > a[i][j]; } } //打印矩阵...
阅读全文
摘要://输出两个数的最大公约数(穷举法) int MaximumCommonDivisor(int a,int b){ int result; int t = 1; for (int i = 2; i <= a && i <= b;i++) { while (a % i == 0 && b % i == 0) { ...
阅读全文
摘要:#include #include using namespace std; /*********1***********/ const int N_limit = 2; int value_lim = 50; /*********2**********/ const int N_mid = 11; /*********3**********/ const int N_mean = 12; ...
阅读全文

浙公网安备 33010602011771号