-
Archive
4) 创建一个名为Complex的类,进行复数的算术运算。复数的形式为:
realpart+imaginarypart*i
用浮点变量表示类的private数据。提供构造函数,能够对所声明的该类对象进行初始化。在不提供初始化值的情况下,该构造函数应包含默认值。针对以下功能,分别提供一个public成员函数。
(1)两个复数相加;
(2)两个复数相减
(3)用(a, b)的形式打印复数,其中a为实部,b为虚部。
(4) Create a class called Complex, and perform complex arithmetic operations. Plural form: realpart+imaginarypart* i said private data class with floating point variables. Provide a constructor, the object can be declared for the class is initialized. In the case do not provide initialization values, the constructor should contain default values. For the following functions, which provide a public member function. (A) two complex numbers (2) the subtraction of two complex (3) (a, b) in the form of plural printing, where a is the real part, b is the imaginary part.)
- 2013-12-18 15:14:46下载
- 积分:1
-
Cmd_on_TitleBar
Add a button on main window title bar
- 2014-10-12 00:00:39下载
- 积分:1
-
Mpanngjialaiia
混沌映射庞加莱界面Matlab程序源码码,程序源码虽小,短小精悍
(Chaos mapping Poincare interface the Matlab program source code, the program source code is small, dapper)
- 2012-08-23 20:49:08下载
- 积分:1
-
Chapter2
MATLAB混合编程想把matlab强大的功能用在自己的工程实践中吗这是本不错的混合编程的书(Hybrid Programming MATLAB want matlab powerful in their own practice, it works this is a mixture of good programming book)
- 2009-01-02 11:19:16下载
- 积分:1
-
Tkalfilterh
标准的卡尔曼滤波程序,使用matlab实现,程序中通通过一个简单的模拟,说明了卡尔曼滤波器的跟踪滤波原理。
(Standard Kalman filtering procedures, the use of Matlab implementation, pass through a simple simulation program, the Kalman filter tracking filter principles.)
- 2012-08-12 00:15:02下载
- 积分: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
-
matlab程序
用MATLAB程序实现演化博弈的均衡求解(Equilibrium solution for evolutionary game)
- 2020-12-28 19:09:01下载
- 积分:1
-
EpprogramE
用于脑电分析的各类源码,包括功率谱密度检测,事件相关同同步/去同步分析,脑地形图绘制等,已通过测试。
(For EEG analysis of various types of source, including the power spectral density testing, events associated with synchronization/desynchronization analysis of brain topographic mapping, etc., has been tested.)
- 2012-08-05 09:25:53下载
- 积分:1
-
PFC
PFC 的原理与分析设计 我们作比赛的资料(Principle and Analysis of PFC design we make the game data)
- 2013-09-05 06:46:08下载
- 积分:1
-
boost
BOOT PI CLOSE LOOP CONTOLLER
- 2013-10-19 18:20:50下载
- 积分:1