-
贝塞尔曲线示例
#include < iostream >
#include < 矢量 >
#include < math.h >
#include"BezierPoint.h"
使用命名空间 std ;
BezierPoint 贝塞尔 (方法 < BezierPoint > & pts,双 t) ;
双选择 (双 a,双 b) ;
双 factorial(double num) ;
int main(void) {
方法 < < BezierPoint >> 方法警校 ;
char endPointCount = 0;
双 inx ;
双 iny ;
int ptCount = 0;
int 终结点 ;
双 deltaT ;
cin >> ptCount >> deltaT ;
为 (int 我 = 0 ; 我 < ptCount; i + +) {
cin >> inx >> iny >> 终结点 ;
BezierPoint p iny inx) ;
如果 (endPointCount = = 0 & & 终结点 = = 1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
继续 ;
}
pts[pts.size()-1].push_back(p) ;
如果 (endPointCount! = 0 & & 终结点 = = 1 & & 我! = ptCount-1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
}
}
为 (std::s
- 2022-03-13 19:08:01下载
- 积分:1
-
与干扰
With the interference-to-noise ratio reduced to 30 dB, plot the adaptive antenna pattern after 200 iterations of the LMS algorithm-With the interference-to-noise ratio of red uced to 30 dB. plot the adaptive antenna pattern after 200 ite rations of the LMS algorithm
- 2023-03-06 19:50:03下载
- 积分:1
-
IIR Filter Coefficient Quantization Example
% written by DRB on 6
IIR Filter Coefficient Quantization Example
% written by DRB on 6-Dec-2004 for ECE3703
%
% Looks at unquantized filter (ideal), direct form, and cascaded second
% order section (SOS).
-IIR Filter Coefficient Quantization Exam ple% written by DRB on 6-Jan-2004 for ECE3703%% Looks at unquantized filter (ideal). direct form, and cascaded second order section% (SOS).
- 2023-03-26 22:35:03下载
- 积分:1
-
6 自由度的机器人手臂的模拟
这个程序演示了如何模拟和容易画用 matlab 编写了一个移动的机制。此代码显示移动他的手,沿着螺旋的 6 自由度机器人手臂。
- 2023-03-26 09:25:03下载
- 积分:1
-
matlab SA algorithm
应用背景
智能优化,线性规划,路径寻优,。。。。。。。。。。。。。。。
关键技术matlab实现,求解优化问题,最优值寻找。。。
- 2022-02-24 18:16:56下载
- 积分:1
-
对称对称计算的矩阵特征值与特征向量…
矩阵特征值和特征向量的计算关于对称矩阵的对称对角矩阵的何氏黑米荣变换它的对称三对角矩阵的所有特征值,特征向量的计算
- 2022-08-15 11:09:50下载
- 积分:1
-
语音编解码G711源码
G.711使用64Kbps的带宽,可将14bits转换成8bits。目前G.711有两个编码方式:一种是u-law又称mu-law,主要运用于北美和日本;另一种是a-law,主要运用于欧洲和世界其他地区。其中,a-law编码方式是为方便计算机处理而特别设计的。2008年3月国际电信联盟正式发布了最新的宽带语音编译码标准G.711.1。该代码是G711编解码软件,可以编译为动态库直接使用
- 2022-06-13 18:37:22下载
- 积分:1
-
VB matrix eigenvalue of the algorithm sets. Including : symmetric matrix Jacobia...
用VB实现矩阵特征值的求解算法集。包括:对称矩阵的雅可比变换,实对称阵为三对角阵的特征值求解,等五种特征值求解算法。-VB matrix eigenvalue of the algorithm sets. Including : symmetric matrix Jacobian transform, real symmetric matrix to a three-diagonal matrix eigenvalue solution, the five eigenvalue algorithm.
- 2023-05-05 06:25:03下载
- 积分:1
-
一种用C语言实现的快速傅立叶变换和傅立叶反变换,经测试十分好用...
一种用C语言实现的快速傅立叶变换和傅立叶反变换,经测试十分好用-A C-realize the fast Fourier transform and Fourier inverse transform, have been tested and is very easy to use
- 2022-09-19 23:55:03下载
- 积分:1
-
not know if you can build success!TCwin
也不知道大家能不能编译成功!偶在偶机器上用TC可以编译成功,但用win-tc就不能 ̄还有编译成功的.exe文件发给别人看也不能正确显示结果,郁闷,偶都不知道哪儿错了,请大虾帮我看看,还有要怎么修改计算机当前时间!-not know if you can build success!TCwin-tc.exe
- 2022-03-20 20:56:04下载
- 积分:1