为您找到约 117 条结果,搜索耗时:0.0058秒

基于深度神经网络进行实时电力系统状态估计和预测

...absolute_import from __future__ import division from __future__ import print_function SEED=1234 import numpy as np import math from matplotlib import pyplot as plt np.random.seed(SEED) import keras from keras import backend as K import tensorflow as tf import os, shutil, scipy.io from ...

前端基本知识

...cookie了.* 表单数据规定值的类型,例如:年龄应为只能为int、name只能为字母数字组合。。。。* 对数据进行Html Encode 处理* 过滤或移除特殊的Html标签, 例如: <script>, <iframe> , < for <, > for >, &quot for* 过滤J...

notepad

QT C++ 项目 Notepad如下特点CopyPasteCutPastePrintFont项目目录结构 main.cpp#include "mynotepad.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication EditorApp(argc, argv); MyNotepad Editor; Editor.show(); return EditorApp.exec(); ...

手指演示

...先要判断一下SDK版本是否>=23  if (Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP_MR1) {     大于22 }2、判断当前设备是否支持指纹    指纹识别肯定要求设备上有指纹识别的硬件,判断起来也简单 &...

多变循环彩灯

...n************************************************* void Delay1ms(unsigned int count) { unsigned int i,j; for(i=0;i<count;i++) for(j=0;j<120;j++); } unsigned char code LEDDisplayCode[] = { 0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8, //0~7             &nbs...

数控云台master

typedef unsigned char uchar;   typedef unsigned int uint; #include <mega8.h>    #include <math.h>   #include "macro.h" #include "LCD.h"  //#include "sed1565_s.h" #define RXB8 1 #define TXB8 0 #define UPE 2 #define OVR 3 #define FE 4 #defin...

10BitDA正弦信号发生器

...2; sbit CS = P1^4; //10bit取样,1024点正弦查表数据 unsigned int code sine_dot[1024]= { 0x200,0x203,0x206,0x209,0x20c,0x20f,0x212,0x215,0x219,0x21c,0x21f,0x222,0x225,0x228,0x22b,0x22f,0x232, 0x235,0x238,0x23b,0x23e,0x241,0x244,0x247,0x24b,0x24e,0x251,0x254,0x257,0x25a,0x25d,0x260,0x...

485全双工通信

...51.h> #include <absacc.h> #define uchar unsigned char #define uint  unsigned int //uchar idata buf[10]={0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09}; uchar dat1,dat2; uchar pf; uchar flag,flag1; sbit key1=P1^0; sbit key2=P2^0; /************延时程序************/ ...

电力系统计算工具包

... 有 bug% 创建稳态分析实例ss = Model.SteadyState();ss.init('case14_int');% 创建一般的直流输电系统实例并初始化hvdc = Model.HVDC();hvdc.init(dcm_com());% 向交流系统中挂载直流系统ss.hvdcInit(hvdc)% 设置求解器的基本信息solver.method = 'NR';solver.n_iters_ma...

无源蜂鸣器

...鸣器的优点是:程序控制方便 。 ARDUINO参考源程序:int buzzer=8;//设置控制蜂鸣器的数字IO脚 void setup() { pinMode(buzzer,OUTPUT);//设置数字IO脚模式,OUTPUT为辒出 } void loop() { unsigned char i,j;//定义变量 ...

微信捐赠

微信扫一扫体验

立即
上传
返回
顶部