Location:
Search - getr
Search list
Description: 自定义颜色工具和屏幕取色,方面调节颜色方便的东东,是做程序开发的好东西-Custom color tools and screen check color, adjust the color aspects Dongdong convenient, is to develop procedures to do good things
Platform: |
Size: 52224 |
Author: |
Hits:
Description: 程序主要包括:1.MyInit.m 数据初始化
输出参数:
XTrueZ 目标真实轨迹
Z0 目标观测值
T 采样周期
Q 系统误差阵
DeltaR 距离误差
DeltaSita 方位角误差
DeltaBeta 俯仰角误差
totaltime 运动时间
montimes 蒙特卡罗仿真次数
2. EKF.m
[Z1]= EKF
Z1: 输出EKF滤波后结果
3. CMKF.m
[Z2]= CMKF
Z2: 输出CMKF滤波后结果
4. GetR.m CMKF算法中误差阵R的计算
5. CompareEandC.m
EKF和CMKF、最小二乘滤波后结果比较
部分绘图代码不全,具体结果请参见 信号实验作业.doc 文档
6.source.m
产生带野值的数据
7. RemoveWilddata.m
野值剔除算法
-Procedures will include: 1. MyInit.m initialization data output parameters: XTrueZ target the real target trajectory Z0 sampling period T observed value Q system error array DeltaR distance error DeltaSita azimuth error DeltaBeta pitch angle error totaltime exercise time montimes the number of Monte-Carlo simulation 2. EKF.m [Z1] = EKF Z1: Output EKF filtered results 3. CMKF.m [Z2] = CMKF Z2: Output CMKF filtered results 4. GetR.m CMKF algorithm for the calculation of error R array 5. CompareEandC.m EKF and CMKF, least-squares filtering Comparison of part of the drawing code after the failure, specifically the results of experimental work, see the signal. Doc document 6. source.m generate the data with outliers 7. RemoveWilddata.m outliers removed Algorithm
Platform: |
Size: 10240 |
Author: yanghaiyan |
Hits:
Description: :构建一个圆类Circle,其成员为圆心的坐标(x,y)和圆半径r,并设计构造函数(可以赋初值也可以不赋初值),析构函数(可以什么都不做,只打印信息,表示其被调用),设置新值成员函数Set(), 取圆心坐标成员函数GetX()、GetY(),取圆半径成员函数GetR(),打印成员值成员函数Print(),计算圆面积成员函数Area()。并用此类定义长度为10的对象数组,每个对象的圆心的坐标(x,y)和圆半径r由随机数rand()产生,打印每个对象的(x,y)、r和面积;然后将对象数组按照其r值从小到大排序,并打印排序后每个对象的(x,y)、r和面积;并计算打印出所有对象的平均(x,y)、平均r和平均面积。
#include <stdlib.h>
void main()
{ int i
srand(0) // srand为随机数序列赋初值,可以随意给
for (i=0 i<10 i++)
{ x = rand() y = rand() r = rand() }
}
-: A round-class Circle, whose members are the center coordinates (x, y) and radius of the circle r, and design constructor (initial value may not be given the initial value), the destructor (you can do nothing, print information only, which means that it is called), set the new value of the member function set () member function to take center coordinates getX (), getY (), take a round the radius of members the function GETR () member function Print Print member values () calculate the area of a circle member function area (). And 10 for the array of objects with such a defined length, the center coordinates (x, y) of each object and the circle of radius r by a random number rand () to generate print (x, y), r and area of each object then the array of objects in accordance with the r value from small to large order, and print sorting each object (x, y), r and area print out and calculate the average of all the objects (x, y), the average r an
Platform: |
Size: 9216 |
Author: eliizabeth |
Hits:
Description: 设计名为Circle的类,表示圆。这个类包含:
一个名为radius的double型数据成员,表示圆的半径.
数据成员的设置器setr和获取器getr函数。
一个名为area()的函数,返回圆的面积。
一个名为perimeter()的函数,返回圆的周长
编写测试主函数:创建2个Circle类对象,将第1个圆的半径设置为2.5,第2个圆的半径设置为3.5,并输出两个圆对象的半径、面积和周长。-Design class named Circle, expressed circle. This class includes: a double-type data member named radius, the radius of the circle indicates setr data setter and getter getr member function. A function named area () returns the area of a circle. A function called perimeter () returns circumference of a circle to write test main function: to create two Circle class object, the first one radius of the circle is set to 2.5, the first two radius of the circle is set to 3.5, and the output of two radius of the circle object, area and perimeter.
Platform: |
Size: 12288 |
Author: candy |
Hits:
Description:
首先定义类Point,然后定义类Point的公有派生类Circle,在定义类Circle的公有派生类Cylinder。
类Point的数据成员int型的x和y,用于表示点的坐标位置,有成员函数p_show()、构造函数和析构函数、p_set(),p_show()用于娴熟输出点的坐标,p_set()用于设置x和y的值。
类Circle有新增私有数据成员float型的h和double型的s,表示圆的半径和面积,有成员函数c_area用于计算圆的面积并对s赋值,有成员函数c_set()用于对成员r赋值,有成员函数c_show()用于显示输出半径r和面积s,有成员函数getr()用于获取半径r的值,有构造函数和析构函数。
类Cylinder有新增函数成员float型h和double型的bs、v,分别表示圆柱体的
高、表面积、体积有对成员h赋值的成员函数volume(),有成员函数cy_show()用于显示输出高h、表面积bs和面积v,有构造函数和析构函数。
在主函数main()中分别定义Point、Circle、Cylinder类的对象,观察并记录各类所属的构造函数和析构函数的执行情况,然后再main()半数中通过调用函数对各类的对象的所有数据成员(包括继承所得)赋值并输出显示其值。
-Class Point
Platform: |
Size: 236544 |
Author: 泳 |
Hits: