搜索资源列表
movie_cartoon
- %电影动画: %1.首先调用moviein函数对内存初始化.创建一个足够大的矩阵来容纳一系列指定的图形(帧) %2.调用getframe函数生成每一帧.该函数返回一个矢量,利用这个矢量创建一个电影动画矩阵 %3.调用movie函数按照指定速度进行指定次数的播放 %例子2:演示如何实现快速傅立叶变换(exp(j*2*pi/n))的可视化过程- Movie animation: 1. First transfers the moviein function to the me
finalreport
- matlab实现的多个基础程序和报告并有流程图(1) 绘出正弦信号波形及频谱。 (2) 单极性归零(RZ)波形及其功率谱,占空比为50%。 (3) 升余弦滚降波形的眼图及其功率谱。滚降系数为0.5。发送码元取值为0、2。 (4) 最佳基带系统的Pe~Eb\\No曲线,升余弦滚降系数a=0.5,取样值的偏差是Ts/4。 (5) Pe~Eb\\No,升余弦滚降系数a=0.5,取样时间无偏差,但信道是多径信道,C(f)=abs(1-0.5*exp(-j*2*pi
radon_ambiguity
- %radon transform clear all % N=800 n=1:N fs=200 t=n/fs x1=exp(j*2*pi*(5*t+0.5*5*t.^2)) x2=exp(j*2*pi*(5*t+0.5*15*t.^2)) x=x1+x2 %N=length(x) % ambifunb(x ) %*****************************************RAT na
Cspline
- 这是一个三次样条插值的.m程序 输入的是一个二维数组A(Nx2) 插值方法为: S(x) = A(J) + B(J)*( x - x(J) ) + C(J)*( x - x(J) )**2 +D(J) * ( x - x(J) )**3 for x(J) <= x < x(J + 1)
Matlab 牛顿插值法
- x=a:(b-a)/n:b; %插值节点 y=f(x); plot(x,y,'b') %用蓝色线作被插函数图象 hold on z=a:(b-a)/(2*n):b; n=length(x); for j=2:n for i=n:-1:j y(i)=(y(i)-y(i-1))/(x(i)-x(i-j+1));%计算差商 end end u=y(n); m=length(z); for j=1:m for i=n-1:-1:1 u=y(i)
java-unrar-0.2-src.zip
- 这是架包java-unrar-0.2.jar的源码,利用这个架包可以解压缩.rar文件。,This is the package java-unrar-0.2.jar source, take advantage of this package can extract the plane. Rar file.
qishi
- void Knight(int i , int j) { // printf("%d %dn",i,j) if (board[i][j] != 0 || i < 0 || i >= Size || j < 0 || j >= Size ) { return } step++ board[i][j]=step if (step == Size*Size) { showboard() system("PAUSE
Jman
- Visual 开发 希望对你们有帮助 public static int Rom(int n, int m)//双寄或双偶 { int count = 0 //第一排Y坐标上要几个 if (n < m) { for (int i = 1 i <= n i = i + 2) { count++ } } else { for (int j = 1 j <= m j = j + 2) {
puke
- 编号为1-52张牌,正面向上,从第2张开始,以2为基数,是2的倍数的牌翻一次,直到最后一张牌;然后,从第3张开始,以3为基数,是3的倍数的牌翻一次,直到最后一张牌;然后…从第4张开始,以4为基数,是4的倍数的牌翻一次, 直到最后一张牌;...再依次5的倍数的牌翻一次,6的,7的 直到 以52为基数的 翻过,输出:这时正面向上的牌有哪些?-#include "stdio.h" void main() {/*采用数组存储,循环嵌套实现*/ int i,j in
Quincunx_wavelet_transforms
- Quincunx wavelet transforms Quincunx wavelets are non-separable transform that allows to avoid using vertical/horizontal wavelets. The scaling grows like 2^{j/2} with the scale j instead of 2^j, which can be advantageous. Biorthogonal quincunx w
sideeffec
- This programme is for understanding the side effec.In the above program, the side effect has occurred. In sum1, first i is calculate first for that,i/2 is 5 and then fun(&i) is called that is return 41.so the result is 46. In sum2, first fun(&j) i
bb-ant-tools-1.0.2-bin
- blackberry ant tool,For blackberry developer
HVEDITTT.ZIP
- To design a filter with the following specifications: a) a low pass filter with cut off 2pi/K b) use DFT modulation eq. Hk(z)=H(z) exp(-j*2*pi*(k/K)). The outputs should be shifted in the frequency domian-To design a filter with the following spe
FMINCON
- C=CURVEFIT( 拟合模型 ,参数C初值,X数据,Y数据) 求参数C使得 sum {(FUN(C,X数据)-Y数据).^2}最小化-C = CURVEFIT ( fitting model and parameter C, initial X, Y data) for data parameters that sum {there (C) (C, X-ray data- Y j ^ 2) minimizing}
Electronics-and-Circuit-Analysis-Using-MATLAB---J
- The book can be used by students, professional engineers and technicians. The first part of the book can be used as a primer to MATLAB. It will be useful to all students and professionals who want a basic introduction to MATLAB. Parts 2 and 3 a
Redraimen
- 主算法就是费波纳西数列,即Fib[j]=Fib[j-1]+Fib[j-2] 由于从地第0阶到第N阶的总共方法就是服从费波纳西数列的,故可以用该算法求出总共的方法数。用一个数组Redr[]接收输入数据,即用while循环实现数据输入,用for循环实现费波纳西数列即Fib[]数组,用Fib[]数组对Redr[]数组中的每个数据成员进行求总的方法数,然后用remember[]数组存储每组输入数据的总方法数,最后用for循环输出-Main algorithm is Feibonaxi series th
Gradient
- 采用理查森外推法计算标量函数梯度的程序(很容易改写为计算雅克比矩阵),算例为sin(x)+cos(y)。richarson(fun,x0)中,h是初始步长,j是迭代次数,精度是2*j+2阶。-Scalar function gradient procedures using Richardson extrapolation method, in the function richarson (fun, x0), h is the initial step, j is the number of
sequence-alignment-matrix-
- 求解序列比对得分矩阵,对于两个序列S和T,令[S]和[T]分别为序列S和T的长度,S[i]和T[j](其中正整数i,j满足0≤j< [S]和0≤j <[T])都属于字符集Ω={A,T,C,G,-},对Ω中的任何元素和空符号。 设计S[i]和T[j]两两之间的一个记分值来比较序列间的同一性的优劣,用记分函数σ(x,y)表示, σ(S[i],T[j])=2 ( S[i]=T[j]≠-);σ(S[i],T[j])= -1 ( S[i]≠T[j],S[i]≠-,T[j]≠-);σ(S
Attia-J.O.-Electronics-and-Circuit-Analysis-Using
- The goals of writing this book are (1) to provide the reader with simple, easy, hands-on introduction to MATLAB (2) to demonstrate the use of MATLAB for solving electronics problems (3) to show the various ways MATLAB can be used to solve ci
qpsk_g_r-
- lear N = 10^5 EB_NO = [-1:30] liu1 = zeros(1,N) liu2 = zeros(1,N) for ii = 1:length(EB_NO) m= (2*(rand(1,N)>0.5)-1) + j*(2*(rand(1,N)>0.5)-1) s = (1/sqrt(2))*m normalization of energy to 1 n = 1/sqrt(2)*[randn(1,N) + j*rand
