-
tgx
matlab学习资料,一个倒立摆的练习题,适合初学者(matlab learning materials, an inverted pendulum exercises for beginners)
- 2012-10-22 14:00:26下载
- 积分:1
-
p4_1
说明: 输入一个数判定能否开平方,能就开平方,不能就退出(Enter a few decide whether to open the square, to the open square, can not quit)
- 2010-04-11 18:28:32下载
- 积分: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
-
firls
matlab fir LPF least square error with zeroa weighted
- 2013-11-21 21:35:15下载
- 积分:1
-
LCS
最长公共子序列的个人实验,输入两个不同的字符序列(要求必须是字母),将输出这两个字符序列的最长公共子序列。(Individual experiments longest common subsequence, enter two different sequences of characters (letters must be required), the output of the longest common subsequence of the two-character sequence.)
- 2014-01-11 23:55:57下载
- 积分:1
-
fibonaci
Fibonacci数列,已知一个Fibonacci数,能求出它的N值(Where Fibonacci sequence, a number of known where Fibonacci, can find its N)
- 2009-12-04 15:38:11下载
- 积分:1
-
2-D-FDTD-TE-code-with-PML
一个二维的fdtdc++编写的程序,较完整,带有pml边界条件。感兴趣的可以下载看看。(A two-dimensional fdtdc++ preparation procedures, more complete, with pml boundary conditions. Interested can download to see.)
- 2014-02-24 22:14:52下载
- 积分:1
-
a
说明: 不带像素操作的机器视觉代码-The brain transforms and discards pixels. The transformation is a smoothing and differencing filter.
The output of an individual filter is ambiguous.The output of 5 filters lets us find edges and corners.
A small number of filters covers the entire image.
This method is fast and discards irrelevant information(Without pixel machine vision operation code-The brain transforms and discards pixels. The transformation is a smoothing and differencing filter. The output of an individual filter is ambiguous.The output of 5 filters lets us find edges and corners. A small number of filters covers the entire image. This method is fast and discards irrelevant information)
- 2007-11-22 15:54:19下载
- 积分:1
-
GPCgoodDoc
广义预测控制算法非常详细仿真matlab(GPC matlab codes )
- 2016-06-02 19:44:55下载
- 积分:1
-
analysis
: 正交频分复用( O F D M) 是第四代移动通信的核心技术。 该文首先简要介绍了O F D M基本原理, 重点研究了理想同步情
况下, 保护时隙( c P )和不同的信道估计方法在高斯信道和多径瑞利衰落信道下对O F D M系统性能的影响。 在给出O F DM系
统模型的基础上, 用 MAT L A B语言实现了整个系统的计算机仿真并给出参考设计程序。 最后给出在不同的信道条件下, 保
护时隙、 信道估计方法对 OF DM系统误码率影响的比较曲线, 得出了较理想的结论。
关键词: 正交频分复用; 仿真; 循环前缀; 信道估计(good)
- 2010-06-03 19:23:27下载
- 积分:1