-
K_Means_image_compression
- K means algorithm is performed with different initial centroids in order to get the best clustering.
- The total cost is calculated by summing the distance of each point to its cluster centre and then summing over all the clusters.Based on the minimum overall cost achieved during each iteration of iterKMeans the pixel assignment to their respective clusters are made and final compressed image is obtained. This algorithm will run slower as the number of clusters , size of the image and number of iterations increase.
- 2013-07-26 15:49:00下载
- 积分:1
-
RobotControl1
一种机器人的自适应pd控制,在MATLAB中通过s函数编程实现(a robot pd adaptive control, adopted in MATLAB's programming function)
- 2007-06-07 21:47:03下载
- 积分:1
-
Signal_Processing
1.产生正弦信号,方波信号,均匀噪声;
2.信号的叠加;
3.信号的相关分析;
4.信号的卷积;
5.信号的和;
6.信号的频谱图。(1. Generate sine signal, square wave signals, uniform noise
2. Signal superposition
3. The signal correlation analysis
4. The convolution of signal
5. The sum of signal
6. The signal spectrum.)
- 2013-07-13 21:50:22下载
- 积分:1
-
equal-area-critirea
E=input( enter the generator voltage: )
V=input( enter the infinite bus voltage: )
Gx=input( enter the reactance of generator: )
L1x=input( enter the line reactance: )
L2x=input( enter the line reactance: )
L3x=input( enter the line reactance: )
L4x=input( enter the line reactance: )
Pi=input( enter the input power: )
X1=Gx+L1x+((L2x*L3x)/(L2x+L3x))+L4x
Pm1=E*V/X1
DO=asin(Pi/Pm1)
A=((L2x*L3x)/(2*(L2x+L3x)))
C=A
B=((L3x/2)^2)/(L2x+L3x)
X2=(Gx+L1x+A)+(L4x+A)+(Gx+L1x+A)*(A+L4x)/B
Pm2=(E*V)/X2
X3=Gx+L1x+L2x+L4x
Pm3=(E*V)/X3
DC=input( enter the fault clearing angle: )
Dm=(3.14-asin(Pi/Pm3))
a1=quad( sin ,DO,DC)
A1=(Pi*(DC-DO)-Pm2*a1)
a2=quad( sin ,DC,Dm)
A2=Pm3*a2-Pi*(Dm-DC)
if(A2>=A1)
disp( the system is stable )
else
disp( the system is unstable )
end
Dcc=acos((Pi*(Dm-DO)-Pm2*(cos(DO))+Pm3*(cos(Dm)))/(Pm3-Pm2))
disp( critical clearing angle: )
Dcc
- 2012-09-11 22:46:05下载
- 积分:1
-
algorithm
说明: 利用人工蜂群算法求解模型matlab源码(artificial bee colony)
- 2020-11-20 10:39:36下载
- 积分:1
-
IIRditonglvboqi
正弦信号叠加高斯白噪声,通过IIR低通滤波器,并画出时域和频域上的波形频谱图(Sinusoidal signal superimposed Gaussian white noise through the IIR low-pass filter, and draw on the time domain and frequency domain waveform spectrum)
- 2011-06-22 13:42:15下载
- 积分:1
-
matlab
个人所得税分配方案设计 使用 mlatlab进行仿真(matlab geren suodsui)
- 2011-12-02 20:33:34下载
- 积分:1
-
bbb
matlab上课课件,《MATLAB程序设计教程》电子教案。第一章到第十三章全(matlab class courseware, " MATLAB Programming Guide" electronic lesson plans. The first chapter to chapter XIII full)
- 2013-12-05 15:36:05下载
- 积分:1
-
ostu
OSTU最大类间方差阈值分割算法matlab实现(OSTU Otsu threshold segmentation algorithm matlab implementation)
- 2010-08-06 16:07:19下载
- 积分:1
-
rls
rls递推最小二乘算法 (rls recursive least squares algorithm)
- 2009-03-17 19:24:36下载
- 积分:1