-
Mechanical-design
机械设计Matlab实现,如连杆机构的结构设计,槽轮机构的机构设计(Mechanical design and Matlab implementation, such as the linkage structure of grooved wheel mechanism design, mechanism design)
- 2012-05-07 14:40:20下载
- 积分:1
-
quad
能够实现MATLAB中quad积分函数的功能,文件中举了一个简单的例子(MATLAB quad integral function of the function can be achieved, cited a simple example file)
- 2013-03-27 15:20:33下载
- 积分:1
-
chamfermatching
Description of the file: template matching source of Chamfer matching algorithm. It s OpenCV implementation
- 2013-11-25 23:42:19下载
- 积分:1
-
tree1.cpp
TREES PROGRAM IMPLEMENTAION DATA STRUCTRES
- 2014-09-05 05:22:36下载
- 积分:1
-
6_1
1. 定义一个抽象学生类CStudent,它具有公有成员函数Average(),该函数用于计算学生的平均分,函数为虚函数;定义一个文科学生类CStudentLiberalArts,它是类CStudent的派生类,并以公有方式派生,它具有的成员有:
1) 保存英语、政治、数学、地理和历史、美术成绩的整形成员变量;
2) 设置上述变量的公有成员函数;
3) 输出上述变量的公有成员函数;
4) 公有的成员函数Average()用于计算学生的平均分;
定义一个理科学生类CStudentScience,它是类CStudent的派生类,并以公有方式派生,它具有的成员为:
1) 保存英语、物理、数学、化学和计算机、程序设计成绩的整形成员变量;
2) 设置上述变量的公有成员函数;
3) 输出上述变量的公有成员函数;
4) 公有的成员函数Average()用于计算学生的平均分;
编写主函数,并测试以下内容:
1) 定义一个CStudent的指针数组pStu,数组长度为4;
2) 动态创建2个文科学生的对象,地址存于pStu数组的0-1个元素内;
3) 动态创建2个理科学生的对象,地址存于pStu数组的2-3个元素内;
4) 利用while循环调用数组里每个元素的计算平均成绩操作;
释放动态分配的空间,确保必要的析构函数能被调用。
(1 define an abstract class student CStudent, it has a public member function Average (), this function is used to calculate the student s average points function as virtual function definition of a liberal arts student class CStudentLiberalArts, it is the class CStudent derived class, and public be derived, which has members are:
1) Save English, shaping member variables politics, mathematics, geography and history, art achievements
2) Set the above variables public member function
3) public member function of the output of the variable
4) public member function Average () is used to calculate the average student s points
The definition of a science student class CStudentScience, it is the class CStudent derived class, and public manner derived, which has members as follows:
1) Save English, physics, mathematics, chemistry and computer programming achievement shaping member variables
2) Set the above variables public member function
3) public member function of t)
- 2014-10-20 15:29:16下载
- 积分:1
-
powerflow
电力系统潮流计算 有关PQ节点平衡节点等的潮流计算(Power system load flow calculation related to PQ node in the node balancing flow calculation, etc.)
- 2009-11-24 19:48:29下载
- 积分:1
-
example4_4
例4:在sinc(t)信号中叠加噪声,分析对应频谱
fs=100 采样频率,必须大于两倍基带信号最高频率
ts=1/fs 采样时间间隔
T=2 时间窗大小
(
x=x+0.1*randn(1,N)
x=awgn(x,-10, measured )
figure
plot(t,x)
title( 时域信号图 )
xlabel( t /s )
y=fft(x,N)
figure
if mod(N,2)~=0
N=N-1
end
f=linspace(0,fs/2,N/2)
plot(f,abs(y(1:N/2))*2/N)
title( 叠加噪声的sinc(t)信号频谱 )
xlabel( f /Hz )
figure
y0=y(1:N/2)
P=y0.*conj(y0)/N
P=10*log10(P)
plot(f,P)
title( 功率谱 )
xlabel( f /Hz )
)
- 2010-05-25 20:59:03下载
- 积分:1
-
Apriori
本程序使用MATLAB实现了简单的APRIOR算法(This program uses MATLAB algorithm to achieve a simple APRIOR)
- 2011-05-26 18:24:41下载
- 积分:1
-
optical
Introduction to Strategies for Optical Networks
- 2015-02-21 02:09:40下载
- 积分:1
-
discrete_control
Control system program. Lab course
- 2014-12-05 01:45:38下载
- 积分:1