搜索资源列表
Recursive_integer_division
- 递归法求解整数划分。 整数划分,是指把一个正整数n写成如下形式: n=m1+m2+…+mi (其中mi为正整数,并且1 <= mi <= n),则{m1,m2,...,mi}为n的一个划分。 如果{m1,m2,...,mi}中的最大值不超过m,即max(m1,m2,...,mi)<=m,则称它属于n的一个m划分。这里我们记n的m划分的个数为f(n,m)-Recursive method integer division. Integer divisi
MRF1.6
- This directory contains the MRF energy minimization software accompanying the paper [1] A Comparative Study of Energy Minimization Methods for Markov Random Fields. R. Szeliski, R. Zabih, D. Scharstein, O. Veksler, V. Kolmogorov, A. Agarw
i2ceeprom
- This an example of using I2C to access a serial eeprom with the nerdkit. The eeprom used is the 24LC256 with a capacity of 32k bytes. I m not sure yet of a real project where I will use it but maybe archiving data on a weather station so it can be up
optim
- Sequentielle Quadratische Optimierung fuer f(x) = Min!, g(x) >= 0, h(x) = 0 unter Regularitaetsbedingung FUNKTIONEN: gp.m, gp_g.m, restor.m, sigini.m name_f.m: Zielfunktion/Gradient name_g.m: Ungleichunen/Gradienten name_
wimax
- Version of the interface (unsigned decimal, MMm, max 25.5) M - Major: change if removing or modifying an existing call.
divmnu.c
- Computes the n-m+1-halfword quotient and m-halfword remainder of n halfwords divided by m halfwords, unsigned. Max line length is 57, to fit in hacker.book.
rectImage2Polar
- Code taken Max s answer to this question on Stack Overflow. http://stackoverflow.com/questions/12924598/examples-to-convert-image-to-polar-coordinates-do-it-explicitly-want-a-slick-m Descr iption: This function takes an input image of any dimen
Main
- 输入包含多组测试数据。 每组输入第一行是两个正整数N和M(0<N<=30000,0<M<5000),分表代表学生的数目和操作的数目。 学生ID编号从1编到N。 第二行包含N个整数,代表这N个学生的初始成绩,其中第i个数代表ID为i的学生的成绩。 接下来有M行。每一行有一个字符C(只取‘Q’或‘U’),和两个正整数A,B。 当C为‘Q’的时候,表示这是一条询问操作,它询问ID从A到B(包括A,B)的学生当中,成绩最高的是多少。 当C为‘U’的时候,表
附件
- lc; clear; A=[1 1.2 1.5 1.5; 0.833 1 1.2 1.2; 0.667 0.833 1 1.2; 0.667 0.833 0.833 1]; %因素对比矩阵A,只需要改变矩阵A [m,n]=size(A); %获取指标个数 RI=[0 0 0.58 0.90 1.12 1.24 1.32 1.41
Parafac codes
- PARAFAC源程序,可以用于平行因子分析处理的算法,很全很好用(unction [A,B,C,LLF,I,J,K] = parafac(XPK,I,N,epsilon) % PARAFAC Parallel factor analysis for an three-way data array % The iterative process is continued until that m > 300 or ABS((LF(m)-LF(m-1)) % /LF(m-1)) is l
music
- MUSIC 算法MATLAB仿真源代码 clc clear all format long %将数据显示为长整型科学计数 N=200;%快拍数 doa=[20 60]/180*pi; %信号到达角 w=[pi/4 pi/3]';%信号频率 M=10;%阵元数 P=length(w); %信号个数 lambda=150;%波长 d=lambda/2;%阵元间距 snr=20;%信噪比 B=zeros(P,M); %创建一个P行M列的0矩阵 for k=1:P B