Linux下的tree命令,同window,功能更强大! 1、下载tree-1.5.1.1源程序 2、解压源码到工作目录tar zxvf tree-1.5.1.1.tgz 3、在tree-1.5.1.1目录交叉编译:make CC=arm-linux-gcc 4、安装:make prefix=/home/xxxx/rootfs install Ubuntu下 直接 apt-get install tree 即可安装最新的tr
上传时间: 2016-09-27
上传用户:wangzhen1990
一被控对象 ,给定为阶跃给定,幅值为500,设计一个两维模糊PI型控制器,输入语言变量和输出语言变量均取7个值{NB,NM,NS,ZE,PS,PM,PB},模糊论域为{-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6},用matlab编程仿真研究。
标签: 对象
上传时间: 2013-12-16
上传用户:大融融rr
在一个划分成网格的操场上,n个士兵散乱地站在网格点上。网格点由整数坐标(x,y)表示。士兵们可以沿网格边上、下、左、右移动一步,但在同一时刻任一网格点上只能有一名士兵。按照军官的命令,士兵们要整齐地列成一个水平队列,即排列成(x,y),(x+1,y),…,(x+n-1,y)。如何选择x 和y的值才能使士兵们以最少的总移动步数排成一列。 实验任务:计算使所有士兵排成一行需要的最少移动步数。
上传时间: 2016-10-10
上传用户:leixinzhuo
开机时,显示12:00:00的时间开始计时; P0.0/AD0控制“秒”的调整,每按一次加1秒; P0.1/AD1控制“分”的调整,每按一次加1分; P0.2/AD2控制“时”的调整,每按一次加1个小时;
标签: 开机
上传时间: 2014-01-25
上传用户:colinal
AODV的一些心得,希望有帮助1 希望有帮助1
标签: AODV
上传时间: 2016-11-24
上传用户:hustfanenze
标准的遗传算法代码,下面是程序:function y=fitness(chrom,p,aim) global P_cross P_mutation [Popsize len]=size(chrom) fitness_gene=zeros(Popsize,1) in_he=zeros(4,1) out_he=zeros(4,1) in_out=0 out_out=0
上传时间: 2013-12-08
上传用户:pkkkkp
Problem A:放苹果 Time Limit:1000MS Memory Limit:65536K Total Submit:1094 Accepted:441 Language: not limited Description 把M个同样的苹果放在N个同样的盘子里,允许有的盘子空着不放,问共有多少种不同的分法?(用K表示)5,1,1和1,5,1 是同一种分法。 Input 第一行是测试数据的数目t(0 <= t <= 20)。以下每行均包含二个整数M和N,以空格分开。1<=M,N<=10。 Output 对输入的每组数据M和N,用一行输出相应的K。 Sample Input 1 7 3 Sample Output 8
标签: Limit Accepted Language Problem
上传时间: 2016-11-30
上传用户:leixinzhuo
MATLAB Code for Optimal Quincunx Filter Bank Design Yi Chen July 17, 2006 This file introduces the MATLAB code that implements the two algorithms (i.e., Algorithms 1 and 2 in [1], or Algorithms 4.1 and 4.2 in [2]) used for the construction of quincunx filter banks with perfect reconstruction, linear phase, high coding gain, certain vanishing moments properties, and good frequency selectivity. The code can be used to design quincunx filter banks with two, three, or four lifting steps. The SeDuMi Matlab toolbox [3] is used to solve the second-order cone programming subproblems in the two algorithms, and must be installed in order for this code to work.
标签: introduces Quincunx Optimal MATLAB
上传时间: 2014-01-15
上传用户:cc1
function [U,center,result,w,obj_fcn]= fenlei(data) [data_n,in_n] = size(data) m= 2 % Exponent for U max_iter = 100 % Max. iteration min_impro =1e-5 % Min. improvement c=3 [center, U, obj_fcn] = fcm(data, c) for i=1:max_iter if F(U)>0.98 break else w_new=eye(in_n,in_n) center1=sum(center)/c a=center1(1)./center1 deta=center-center1(ones(c,1),:) w=sqrt(sum(deta.^2)).*a for j=1:in_n w_new(j,j)=w(j) end data1=data*w_new [center, U, obj_fcn] = fcm(data1, c) center=center./w(ones(c,1),:) obj_fcn=obj_fcn/sum(w.^2) end end display(i) result=zeros(1,data_n) U_=max(U) for i=1:data_n for j=1:c if U(j,i)==U_(i) result(i)=j continue end end end
标签: data function Exponent obj_fcn
上传时间: 2013-12-18
上传用户:ynzfm
程序在主程序中没有连续改变小灯的状态,而在开始运行时将其关闭,延时后点亮。实验现象是一只小灯不断闪烁,这是因为程序中启动了看门狗,看门狗时间长度为1 秒,如果1 秒内没有复位看门狗的话,系统将复位。系统复位后再次开启看门狗,1 秒后复位。
上传时间: 2014-12-07
上传用户:libenshu01