搜索资源列表
pline
- 用4种方法绘出螺旋曲线上升的动态效果 x=cos(t) y=sin(t) z=t-Plotted using four methods increased the dynamic effect of the spiral curve x = cos (t) y = sin (t) z = t
biThrTree-hfut
- 合肥工业大学数据结构试验四线索二叉树,包括完整的实验要求、实验预习报告、实验最终报告 实验任务∶ <1>按先序次序遍历先序线索二叉树。 <2>按中序次序遍历中序线索二叉树。 <3>将值为x的结点作为先序线索二叉树T的左子树的(先序)最后一个结点的右孩子插入进去。 <4>按中序次序线索化二叉树。 <5>按后序次序线索化二叉树。-Four threaded binary tree
binTree-hfut
- 合肥工业大学数据结构试验三二叉树(包括实验要求、预习报告、最终试验报告)。 主要实验内容: <1>求二叉树的高度。 <2>设计算法按中序次序输出二叉树中各结点的值及其所对应的层次数。 <3>将按顺序方式存储在数组中的二叉树转换为二叉链表形式。 <4>复制一棵二叉树T到T1。 <5>交换二叉树中每个结点的左右孩子指针的值。 <6>设计算法以实现下面所提到以扩
ABD Laminate Builder
- Program is a MATLAB based thin-layer implementation to determine the laminate ABD matrix, laminate strain, and ply stress profile as well as effective properties of the laminate using thin plate theory. This code is, in essense, a GENLAM clone. Plies
RK41
- R-K方程求解代码,数值分析初级分析代码,是4阶的-R- K f o r 4 t h t o g e t t h e a n s w e r.
LMS
- 实现了自适应信号处理LMS算法,分别绘出当w(0)=[0,0]T, =0.1及w(0)=[4, 10]T, =0.05时,LMS算法在两种下的权值变化轨迹、误差e(n)与迭代次数n的关系曲线-The LMS adaptive signal processing algorithm
wvfreadb_moreinput
- 读取Yokogawa DL 750, DL 1600 系列 与 DL 7440 示波器的数据. 特点:允许多个通道(trace)的输入,如: [x(:,1:4),x(:,5)]=wvfreadb_moreinput(filename, 1, [1,2,3,4], 1)-loads YT-waveform data from*.wvf file saved by Yokogawa DL 750, DL 1600 series and DL 7440 Oscilloscopes into t
matlab
- 设每位同学自己的学号为n,采用遗传算法求解下面优化问题: min f(x1,x2)=(4-2.1*x1^2+(x1^4)/3)*x1^2+x1*x2+(-4+4*x2^2)*x2^2+n-20111369 s.t. -3<x1<3 -2<x2<2 函数 为六峰值驼背函数(Six-hump Camel Back Function),要求如下: (i)mesh()为Matlab中常用的画图函数,请查阅相关书籍或help,掌握mesh用法
zhaoxiaopu
- 位置指令为幅值为1.0的阶跃信号,r(k)=1.0。网络结构为1-4-1,高斯函数的参数值取Cj=[-2 -1 1 2]T ,B=[0.5 0.5 0.5 0.5]T 。 网络权值学习参数为η=0.30,α=0.05 。PID控制各参数的初RBF网络控制,被控对象为G(s)= 取采样时间为1ms,采用Z变换进行离散化,离散化后的被控对象为 y(k)=-den(2)*y(k-1)-den(3)*y(k-2)+num(2)*u(k-1)+num(3)*u(k-2)
TT
- The model used for creating the reference voltage is shown in Fig. 4. First, photovoltaic output current (Ipv) and output voltage (Vpv) are passed through a first order low pass filter with a magnitude of G = 1 and a time constant of T = 0.0
re1
- The model used for creating the reference voltage is shown in Fig. 4. First, photovoltaic output current (Ipv) and output voltage (Vpv) are passed through a first order low pass filter with a magnitude of G = 1 and a time constant of T = 0.0
windfarm_synmc-psl
- The model used for creating the reference voltage is shown in Fig. 4. First, photovoltaic output current (Ipv) and output voltage (Vpv) are passed through a first order low pass filter with a magnitude of G = 1 and a time constant of T = 0.0
three_dim_plot
- The model used for creating the reference voltage is shown in Fig. 4. First, photovoltaic output current (Ipv) and output voltage (Vpv) are passed through a first order low pass filter with a magnitude of G = 1 and a time constant of T = 0.0
kmeans1
- K-means算法,算法步骤如下: Step1.利用式(2)计算距离矩阵D=(),其中=dist[i, j] (); Step2.扫描坐标距离矩阵D,寻找距离的最大值和最小值,用式(3)计算limit; Step3.扫描坐标距离矩阵D,寻找矩阵中距离最小的2个数据a,b,将数据a,b加入集合,={a,b},同时将数据a,b从U中删除,更新距离矩阵D; Step4.利用 (4)式在U中寻找距离集合最近的数据样本t,如果小于limit,则将t加入集合,同时将t从集合U中删除,更新
ooo
- 给定数学函数 x(t)=12sin(2π×10t+π/4)+5cos(2π×40t) 取N=128,试对t从0~1秒采样,用fft作快速傅立叶变换,绘制相应的振幅-频率图 -Given mathematical function x (t) = 12sin (2π × 10t+ π/4)+5 cos (2π × 40t) Take N = 128, test for t from 0 to 1 second intervals, for a fast Fourier tran
SimpleMthd
- 单纯形法matlab程序 求解标准型线性规划:max c*x s.t. A*x=b x>=0 本函数中的A是单纯初始表,包括:最后一行是初始的检验数,最后一列是资源向量b N是初始的基变量的下标 输出变量sol是最优解, 其中松弛变量(或剩余变量)可能不为0 输出变量val是最优目标值,kk是迭代次数- example:max 2*x1+3*x2 s.t. x1+2*x2<=8 4*x1<=16 4*x
DNA
- 基因序列比较 人类基因由4种核苷酸,分别用字母ACTG表示。要求编写一个程序,按以下规划比较两个基因序列并确定它们的相似程度。即两 给出两个基因序列AGTGATG和GTTAG,它们有多相似呢?测量两个基因的相似度一种方法称为对齐。使用对齐方法可以在基因的适当位置加入空格,让两个基因的长度相等,然后根据基因的分值矩阵计算分数。 A C G T - A 5 -1 -2 -1 -3 C -1 5 -3 -2 -4 G -2 -3 5 -2 -2 T -1 -2 -2 5
QAM-performance-with-AGC-errors
- In this File, performance evaluation of 4-QAM system in the presence of Automatic Gain Control (AGC) errors using MATLAB Software. The system is designed, modeled and simulated using Simulink to evaluate the Bit Error Rate (BER) of the system in AWGN
based-on-Euclid
- 自己以前写的基于欧几里得的小程序。 1.判断一个整数是不是素数 2.计算两个整数的最大公约数 3.计算两个整数的最小公倍数 4.将输入的a,b表示成s*a+t*b=gcd(a,b)的形式 5.求输入的a,m中a模m的逆元-A small program based on Euclid . 1. Determine an integer is not a prime number 2 Calculate
ecgsyn
- ECG waveform generator for MATLAB [s, ipeaks] = ecgsyn(sfecg,N,Anoise,hrmean,hrstd,lfhfratio,sfint,ti,ai,bi) Produces synthetic ECG with the following outputs: s: ECG (mV) ipeaks: labels for PQRST peaks: P(1), Q(2), R(3), S(4)