-
-
...o',
markersize=10,
markerfacecolor='red')
plt.plot(x, y2,
linewidth=0.5,
linestyle='dotted',
color='g',
marker='^',
...
-
-
...计算的matlab代码,配电网潮流计算matlab代码。clc;clear all;format short;ticm=load('loaddata12bus.m');l=load('linedata12bus.m'); br=length(l);no=length(m);MVAb=100;KVb=11;Zb=(KVb^2)/MVAb;% Per unit Valuesfor i=1:br R(i,1)=(l(i,4))/Zb; X(i,1)=(l(i,5))/Zb;e...
-
-
...械臂的上位机程序,包括视觉识别和关节角反解。Microsoft Visual Studio Solution File, Format Version 12.00# Visual Studio 14VisualStudioVersion = 14.0.25420.1MinimumVisualStudioVersion = 10.0.40219.1Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SingleCameraControlRobotArm",...
-
-
...面积法应用在这里去找到单机系统到稳态的临界间隙角if exist('Pm')~=1Pm = input('Generator output power in p.u. Pm = '); else, endif exist('E')~=1E = input('Generator e.m.f. in p.u. E = '); else, endif exist('V')~=1V = input('Infinite bus-bar voltage in p.u. V = '); else, endif e...
-
-
...是通过使用结构建模来完成的。如下图所示,只需将1 Half Adder和N-1 Full Adder串联即可实现N位加法器。 设计用于N位加法器的Verilog代码,以便可以为每个实例独立初始化N值。 为此,用于N位加法器的Verilog代码使用Verilog中的Generate...
-
-
...去掉不满足条件的排列。2.程序源代码:main(){int i,j,k;printf(“\n“);for(i=1;i〈5;i++) /*以下为三重循环*/ for(j=1;j〈5;j++) for (k=1;k〈5;k++) { if (i!=k&&i!=j&&j!=k) /*确保i、j、k三位互不相同*/...
-
-
...实现汉字仿真#include <intrins.h>
#include<ziku.c>
#define uchar unsigned char
#define uint unsigned int
uchar num[] = "0123456789";
sbit REST = P2^0; //Reset signal, active"L"
sbit C_D = P2^1; //L:data H:code
sbit C_E =...
-
-
...Copyright (c) 2004-2009 Voltaire Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main direc...
-
-
.../4*log(cita);%两边取对数,gama即为贝叶斯检测中的最佳门限fprintf('贝叶斯判决的检测门限为\n%f\n',gama);%计算四个条件概率和检测门限的关系PH0_H1 = zeros(1,601);PH0_H0 = zeros(1,601);PH1_H1 = zeros(1,601);PH1_H0 = zeros(1,601);C = zeros(1,601); %...
-
-
...(或零)。 最基本的版本以为实变量x定义的单变量函数f,函数的导数f'和为f的根的初始猜测x0开头。 例如:初始猜测为2输入收敛值0.001根是2.707