-
EX_8
(1) 新建一个工程demo2,设计一个类Student,其成员变量包括学号(no)、姓名(name)、性别(sex)、专业(major)、联系方式(phone)和地址(addr)。
(2) 为类Student定义成员函数writeTo,实现从给定文本文件中读取学生数据,接口如下:
void writeTo (char filename[ ])
(3) 为类Student定义成员函数readFrom,实现将学生数据保存到给定文本文件,接口如下:
void readFrom (char filename[ ])
((1) Create a new project demo2, design a class Student, whose member variables, including school (no), name (name), gender (sex), specialty (major), contact details (phone) and address (addr). (2) define the Student class member function writeTo, students achieve reading data a given text file, the interface is as follows: void writeTo (char filename []) (3) define the Student class member function readFrom, students will achieve data save to text file given, the interface is as follows: void readFrom (char filename []) )
- 2016-05-13 19:01:27下载
- 积分:1
-
matlab_txt
matlab使用文本文件进行数据存取详细过程说明(matlab using a text file for data access detailed process description)
- 2013-10-05 21:05:42下载
- 积分:1
-
matttt
more programs on matlab
- 2012-11-30 03:03:36下载
- 积分:1
-
suoxiang
该文件运用matlab仿真工具仿真通信中的关键技术之一,锁相环。采用不同的调制方式。(The document the use of simulation tools for communication matlab simulation of one of the key technologies, phase-locked loop. Different modulation.)
- 2009-04-25 15:00:32下载
- 积分:1
-
sound-denoising-using-wavelet
this code is developed in matlab for different sound using wavelets
- 2013-10-06 18:59:41下载
- 积分:1
-
ant
蚂蚁算法求解路径优化问题就是求解有车辆约束问题的matlab程序,包括四个文件。(Ant algorithm for path optimization problems)
- 2009-10-22 20:40:20下载
- 积分:1
-
R_ESPRIT
本程序为实值空间ESPRIT算法源程序,是基本ESPRIT算法在性能上的一种改进(This program is in real space ESPRIT algorithm source code, is a basic algorithm ESPRIT an improvement in performance)
- 2010-10-21 21:42:38下载
- 积分:1
-
Current-Control-of-BLDC-Drive-for-EV-application
This topic presents a current blocking strategy of brushless DC (BLDC) motor drive to prolong the capacity voltage of batteries per charge in electric vehicle applications. The BLDC motor employs a simple torque hysteresis control (THC) that can offer a robust control and quick torque dynamic performance. At first, a mathematical modeling of BLDC motor and principle of torque hysteresis control will be described, so that the benefit offered by the proposed current blocking strategy can be highlighted. It can be shown that the current control method naturally provides current limitation, in which the current error (or ripple) is restricted within the pre-defined band-gap furthermore provide current protection. The benefit of proposed current blocking strategy will be highlighted such that it can prevent the current drained from the batteries when the torque demand is released to set to 0 Nm. The control scheme is validated and verified by the simulation and experimental results.
- 2020-11-16 18:09:40下载
- 积分:1
-
TECH_MEMO-93-07
Longitudinal Control of the Lead Car of a Platoon
- 2021-03-02 15:09:34下载
- 积分:1
-
mse
利用matlab实现的最小二乘法的计算,可以利用在处理信号和进行数值计算的时候(Using matlab realize the least squares method of calculation can be utilized in signal processing and numerical calculation time)
- 2013-11-08 09:55:26下载
- 积分:1