-
% COMPDIR Computes a search direction in a subspace defined by Z.
% Helper function for NLCONST.
% Returns Newton direction if possible.
% Returns random direction if gradient is small.
% Otherwise, returns steepest descent direction.
% If the steepest descent direction is small it computes a negative
% curvature direction based on the most negative eigenvalue.
% For singular matrices, returns steepest descent even if small.
標簽:
Z.
direction
Computes
function
上傳時間:
2014-01-24
上傳用戶:Thuan
-
A system simulation environment in Matlab/Simulink of RFID is constructed in this paper.
Special attention is emphasized on the analog/RF circuit.negative effects are concerned in the system
model,such as phase noise of the local oscillator,TX-RX coupling,reflection of the environment,
AWGN noise,DC offset,I/Q mismatch,etc.Performance of the whole system can be evaluated by
changing the coding method,parameters of building blocks,and operation distance.Finally,some
simulation results are presented in this paper.
標簽:
environment
constructed
simulation
Simulink
上傳時間:
2014-01-09
上傳用戶:zhangliming420
-
A dissipative particle swarm optimization is
developed according to the self-organization of dissipative
structure. The negative entropy is introduced to construct an
opening dissipative system that is far-from-equilibrium so as to
driving the irreversible evolution process with better fitness.
The testing of two multimodal functions indicates it improves
the performance effectively.
structure. The negative entropy is introduced to construct an
opening dissipative system that is far-from-equilibrium so as to
driving the irreversible evolution process with better fitness.
The testing of two multimodal functions indicates it improves
the performance effectively.
標簽:
self-organization
optimization
dissipative
developed
上傳時間:
2016-03-31
上傳用戶:zgu489
-
//通過18B20檢測的數字溫度可在電腦上顯示當前溫度值
#include <reg52.h>
#define uchar unsigned char
#define uint unsigned int
sbit DS=P2^2 //define interface
uint temp // variable of temperature
uchar flag1 // sign of the result positive or negative
sbit dula=P2^6
sbit wela=P2^7
標簽:
define
unsigned
include
18B20
上傳時間:
2014-01-19
上傳用戶:Andy123456
-
外國人開發的電磁時域有限差分方法工具包
Electromagnetic Finite-Difference Time-Domain (EmFDTD)
is a basic two-dimensional FDTD code developed at the
School of Electrical Engineering, Sharif University of
Technology.
This code has been written based on the standard
Yee s FDTD algorithm. Applications include propagation,
scattering, and diffraction of electromagnetic waves
in homogeneous and non-homogeneous isotropic media
for in-plane propagating waves. negative permittivites
or permeabilities as well as dispersion is not included.
Zero, Periodic, and Perfectly Matched Layer boundary
conditions may be selectively applied to the solution
domain.
The program is best suited for study of propagation and
diffraction of electromagnetic waves in Photonic Crystal
structures.
EmFDTD is written in MATLAB language and has been
tested under MATLAB 5.0 and higher versions.
標簽:
Finite-Difference
Electromagnetic
two-dimensio
Time-Domain
上傳時間:
2014-11-24
上傳用戶:watch100
-
Shortest Paths with Multiplicative Cost. In a given undirected graph, the path cost is measured as a product of all the edges in the path. The weights are rational numbers (e.g., 0.25, 0.75, 3.75 etc) or integers (2, 3). There are no negative edges. Given such a graph as input, you are to output the shortest path between any two given vertices. Input is the adjacency matrix and the two vertices. You must output the path.
標簽:
Multiplicative
undirected
Shortest
measured
上傳時間:
2017-04-08
上傳用戶:邶刖
-
full wave rectifierDuring the period from 偽 to 蟺, the input voltage vs input current is are positive and the power flows from supply to the load. The converter is said to be operated at rectification mode .During the period from 蟺 to 蟺+偽 , the input voltage vs is negative and the input current is is positive and reverse power flows from load to the supply. The converter is said to be operated in inversion mode. Depending on the value of 偽, average output voltage can be either positive or negative and hence provides 2 quadrant operation.
標簽:
input
rectifierDuring
the
positive
上傳時間:
2017-04-10
上傳用戶:alan-ee
-
管腳號 管腳名稱 LEVER 管腳功能描述
1 VSS 0V 電源地
2 VDD 5.0V 電源電壓
3 VEE 5.0V~(-13V) 液晶顯示器驅動電壓
4 D/I H/L D/I=“H”,表示DB7~DB0為顯示數據
D/I=“L”,表示DB7~DB0為顯示指令數據
5 R/W H/L R/W=“H”,E=“H”,數據被讀到DB7~DB0
R/W=“L”,E=“H→L”, DB7~DB0的數據被寫到IR或DR
6 E H/L 使能信號:R/W=“L”,E信號下降沿鎖存DB7~DB0
R/W=“H”,E=“H” DRAM數據讀到DB7~DB0
7 DB0 H/L 數據線
8 DB1 H/L 數據線
9 DB2 H/L 數據線
10 DB3 H/L 數據線
11 DB4 H/L 數據線
12 DB5 H/L 數據線
13 DB6 H/L 數據線
14 DB7 H/L 數據線
15 CS1
L (19264A)
選擇IC1,即(左)64列
16 RESET L 復位控制信號,RST=0有效
17 CS2
L (19264A)
選擇IC2,即(中)64列
18 CS3
L (19264A)
選擇IC3,即(右)64列
19 V0 -9V negative Voltage for LCD driving
20 LED+ +5.0V The LED supply
標簽:
5.0
LEVER
管腳
VSS
上傳時間:
2014-01-01
上傳用戶:541657925
-
Two scripts are included here.
1. convsys.m - combines the state space representation of two systems connected in series.
[Ao,Bo,Co,Do]=convsys(A1,B1,C1,D1,A2,B2,C2,D2)
This algorithm gives the convolution of two state space representations
| A1 B1 | | A2 B2 |
u ==> | | ==> | | ==> y
| C1 D1 | | C2 D2 |
The algorithm also accepts state space objects as inputs and gives out a state space object as output.
2. sysfeedbk.m
[Ao,Bo,Co,Do]=convsys(A1,B1,C1,D1,A2,B2,C2,D2)
Gives the closed loop state space representation for two systems connected with negative feedback in the following manner.
| A1 B1 |
u ==> | | ==> y
+ o | C1 D1 | |
- | |
| | A2 B2 | |
|= | |= |
| C2 D2 |
The zip file also contains checkcompatibility.m , which checks the compatibility of matrix dimensions in the system and cleanss.m which can be used to clean a state space representation.
標簽:
representation
included
combines
scripts
上傳時間:
2017-07-25
上傳用戶:semi1981
-
matlab有限元網格劃分程序
DistMesh is a simple MATLAB code for generation of unstructured triangular and tetrahedral meshes. It was developed by Per-Olof Persson (now at UC Berkeley) and Gilbert Strang in the Department of Mathematics at MIT. A detailed description of the program is provided in our SIAM Review paper, see documentation below.
One reason that the code is short and simple is that the geometries are specified by Signed Distance Functions. These give the shortest distance from any point in space to the boundary of the domain. The sign is negative inside the region and positive outside. A simple example is the unit circle in 2-D, which has the distance function d=r-1, where r is the distance from the origin. For more complicated geometries the distance function can be computed by interpolation between values on a grid, a common representation for level set methods.
For the actual mesh generation, DistMesh uses the Delaunay triangulation routine in MATLAB and tries to optimize the node locations by a force-based smoothing procedure. The topology is regularly updated by Delaunay. The boundary points are only allowed to move tangentially to the boundary by projections using the distance function. This iterative procedure typically results in very well-shaped meshes.
Our aim with this code is simplicity, so that everyone can understand the code and modify it according to their needs. The code is not entirely robust (that is, it might not terminate and return a well-shaped mesh), and it is relatively slow. However, our current research shows that these issues can be resolved in an optimized C++ code, and we believe our simple MATLAB code is important for demonstration of the underlying principles.
To use the code, simply download it from below and run it from MATLAB. For a quick demonstration, type "meshdemo2d" or "meshdemond". For more details see the documentation.
標簽:
matlab有限元網格劃分程序
上傳時間:
2015-08-12
上傳用戶:凜風拂衣袖