搜索资源列表
PointCenter
- 知道圆上两点A(x1,y1),B(x2,y2)和半径r,求出圆心坐标-Know the circle two points A (x1, y1), B (x2, y2) and radius r, find the center of a circle coordinates
circle_xyr
- Draws a circle with center at (x1,y1) and radius r in matlab
circle3
- Draws a circle with center at (x1,y1) and radius r in space
CALCULATE
- 如果已知圆柱的底面半径 r ,以及高 h ,则可计算出圆柱的侧面积 s=2πrh ,体积 v=π r 2 h 。其中 π=3.1415926 -Known cylinder of the radius r, and high-h, you can calculate the cylinder side of the area s = 2πrh, volume v = of π r 2 h. Where π = 3.1415926
BEM2
- 基于matlab边界元的经典算法。垂直接地极半径r=0.05m,长度l=0.5m,垂直接地极上电位V0=30V,边界元法求解径向向外8个点的电势.-Classical algorithm matlab Boundary Element. Vertical ground electrode radius r = 0.05m, length l = 0.5m vertical grounding on potential V0 = 30V, the Boundary Element Method r
Tank-formation-transformation
- 假设三辆坦克开始队形为前三角形,间距为50米,变队后为纵队。三辆坦克的初始速度为aveV,变队完成后速度仍为aveV。坦克转弯半径r=10,坦克最大加速度a_max=1m/s^2。坦克最大速度v_max=20m/s。本程序中,坦克初始速度aveV适用范围为[8,16](单位:m/s)。 -Assume that three tanks began formation of the front triangle, a distance of 50 meters, change team after
circle
- 已知圆半径r=2.5 圆柱高h=4,求圆的周长,面积,圆球体积,圆柱体积,用cin输入要计算的项目,然后输出计算结果,输入输出时要有文字提示。-Known circle radius r = 2.5 cylindrical high h = of circular perimeter, area, sphere volume, cylinder volume, the cin input to calculate the project, and then output the calculat
1
- :构建一个圆类Circle,其成员为圆心的坐标(x,y)和圆半径r,并设计构造函数(可以赋初值也可以不赋初值),析构函数(可以什么都不做,只打印信息,表示其被调用),设置新值成员函数Set(), 取圆心坐标成员函数GetX()、GetY(),取圆半径成员函数GetR(),打印成员值成员函数Print(),计算圆面积成员函数Area()。并用此类定义长度为10的对象数组,每个对象的圆心的坐标(x,y)和圆半径r由随机数rand()产生,打印每个对象的(x,y)、r和面积;然后将对象数组按照其r值从
cPP
- 已知圆半径r=2.5 圆柱高h=4,求圆的周长,面积,圆球体积,圆柱体积,用cin输入要计算的项目,然后输出计算结果,输入输出时要有文字提示。-Known circle radius r = 2.5 Cylindrical High h = 4, of circular perimeter, area, volume sphere, cylinder volume, with the cin input to calculate the project, and then output the
TranCoordinate
- 輸入點位於WGS84之大地經、緯度,可於命令窗顯示此點之卯酉圈曲率半徑N、子午圈曲率半徑M及平均曲率半徑R及此點之空間直角坐標X、Y及Z。-Input point is located in the WGS84 geodetic latitude and longitude can be displayed in the command window of the prime vertical radius of curvature point N, M meridian radius of c
cover
- 覆盖问题 ★问题描述: 通信公司准备在n 个村庄中的某些村庄安装基站,对于村庄i ,在其中建立基站的花费 是Ci。我们把村庄看成是一个二维平面上的点。对于每一个基站,他们的规格,配置都是 相同的,一个基站发射的信号可以覆盖以它为中心的半径为R 米的圆形区域(边界上的也 算被覆盖)。现在公司希望用最小的花费,使得这n 个村庄都能被信号覆盖。 ★实验任务: 对于给定的村庄的位置和修建基站的信息,求出公司覆盖所有村庄的最小花费。 ★数据输入: 第一行是一个整数n(1
yuan
- 问题描述 给定圆的半径r,求圆的面积。 输入格式 输入包含一个整数r,表示圆的半径。 输出格式 输出一行,包含一个实数,四舍五入保留小数点后7位,表示圆的面积。 说明:在本题中,输入是一个整数,但是输出是一个实数。 对于实数输出的问题,请一定看清楚实数输出的要求,比如本题中要求保留小数点后7位,则你的程序必须严格的输出7位小数,输出过多或者过少的小数位数都是不行的,都会被认为错误。 实数输出的问题如果没有
circfit
- 用于拟合圆心坐标及求取包络半径,式中半径R求取需根据需求更改系数。-Use for fitting the circle center and calculate the radius, the variables of R can be changed by the parameter in consider of your meet.
Helmholtz
- his the code for calculating solid angle C, surface pressure ps, and field pressure pf coming out a pulsating cylinder with radius of r and normal-his is the code for calculating solid angle C, surface pressure ps, and field pressure pf coming out a
LATTICE
- 格子手绢 问题描述 久城送给维多利加一块苏格兰格子手绢,可是手绢不小心被咖啡弄脏了,久城不得不负 起清洗的责任。 手绢的格子可以用二维坐标系来描述,手绢左下角坐标为(0,0),右上角坐标为(N,M), 也就是说,手绢上一共有N*M个格子。咖啡在手绢上形成了一个圆形的污点,圆心位于整点( X,Y)处,半径为R。久城想知道,有多少个格子被完全污染了,多少个格子被部分污染了。 这里,某个格子被“完全污染”的意思为该格内被污点覆盖面积=1,被“部分污染”的意 思为0<该格
内接圆识别与拟合matlab源代码
- 用法: I=imread('hand_contour.png'); [R cx cy]=max_inscribed_circle(I) 返回值为圆心坐标cx,cy,半径为R。(Usage: I = imread (' hand_contour. PNG '); [R cx cy]=max_inscribed_circle(I) The return value is center cx, cy, radius R)