-
Rectangle
根据输入的长宽,计算Rectangle面积周长等功能,并画出在txt文件中(Rectangle
Create a class Rectangle with attributes length and width, each of which defaults to
1
a. Provide member functions that calculate the perimeter and the area of the rectangle.
b. Also provide set and get functions for the length and width attributes. The set
functions should verify that length and width are each integer numbers larger than 0
and less than 20.
c. Write draw function to display the Rectangle:
in Assignment1. )
d. Write a driver program to test class Rectangle.)
- 2012-10-24 23:54:51下载
- 积分:1
-
最小二乘曲线拟合
基于Python编写的用于曲线拟合,最小二乘法(Based on Python for curve fitting, least squares method.)
- 2020-11-03 18:29:51下载
- 积分:1
-
加窗插值FFT
用nuttall窗双谱线插值实现谐波提取(Nuttall window double spectrum line interpolation harmonic extraction)
- 2018-03-01 16:21:39下载
- 积分:1
-
2d-MT-finite-element-forward-
改程序用于大地电磁法二维有限元法正演模拟(Reform program for the magnetotelluric method of two-dimensional finite element method for forward modeling)
- 2021-02-09 10:49:53下载
- 积分:1
-
vgg_quat_from_rotation_matrix
从旋转矩阵到四元数的转换,matlab代码。(From the rotation matrix to quaternion conversion, matlab code.)
- 2008-12-12 00:33:56下载
- 积分:1
-
kenfang
加入重复控制,模拟数据分析处理的过程,通过虚拟阵元进行DOA估计。( Join repetitive control, Analog data analysis processing, Conducted through virtual array DOA estimation.)
- 2016-10-16 19:56:10下载
- 积分:1
-
computeAreaOfPolygon
计算多边形(凸凹)面积。
欢迎批评指正(Calculating polygon (convex and concave) area. Welcome criticism)
- 2008-04-24 20:38:30下载
- 积分:1
-
速度规划
速度曲线规划,在给定长度path 曲线上,根据各waypoint的速度约束,规划出平滑的速度曲线(speed curve planning.In a given length path curve, according to the speed of the waypoint constraints, planning a smooth speed curve.)
- 2017-07-09 12:02:47下载
- 积分:1
-
7756
感应双馈发电机系统的仿真,基于分段非线性权重值的Pso算法,计算多重分形非趋势波动分析matlab程序。( Simulation of doubly fed induction generator system, Based on piecewise nonlinear weight value Pso algorithm, Calculation multifractal detrended fluctuation analysis matlab program.)
- 2017-05-12 16:30:34下载
- 积分:1
-
qczdjl
本程序是用数学方程试计算出一个点在一条线上的垂线坐标,并判断出在线内外,是测量中用的程序!(The test procedure is used to calculate the mathematical equation of a line a point in the vertical coordinate, and determine the line outside, the procedure used to measure!)
- 2011-01-05 17:10:24下载
- 积分:1