-
matlab粒子群算法辨识传递函数模型(包括5种模型结构)
matlab代码,直接应用输入输出数据辨识传递函数模型,且包含多种传递函数模型结构的辨识
- 2020-11-27下载
- 积分:1
-
免部署的Windows 平台下的nginx-rtmp-win32 流媒体服务器
免部署的Windows 平台下的nginx-rtmp-win32 流媒体服务器,直接解压运行nginx.exe 即可开启RTMP流媒体直播服务器功能,集直播和网页直播功能,内置web版的流媒体推流,播放工具,网页端口见配置文件nginx.conf
- 2020-12-11下载
- 积分:1
-
关于模糊C-均值(FCM)聚类算法的改进
关于模糊C-均值(FCM)聚类算法的改进关于模糊C-均值(FCM)聚类算法的改进∑∑md2(x1,v,)离有变化,即(1)式中改为(,)=|P)(x;-v大连大学学报其中W为模糊加权因子,由式(5)确定。在模糊¢一均值算法中引入模糊加权因4子,使得数据空间中各个数据点对同一橐类中心所具有的特征优势不同,导致对距离的贡献也不同,更具合理性,使得聚类效果更好,分类更清晰,改进数据预处理的方法。4数据仿真结果将200个二维数据分为三类。使用了两种方法,本文提出的改进的模糊聚类算法(引入了模糊加权因子),结果见图2;经典的模糊C-均值聚类算法6,结果见图3对比聚类效果图如通过对比两种算法的效果图可以看出:图图3FCM聚类效果图2是改进后的模糊聚类算法(引入了模糊加权刈比目标函数曲线如下因子)的效果图,聚类效果比图3经典的模糊C均值聚类算法更好,数据点更集中,有若干点集中在聚类中心上。我们可以看右下角的数据点,改进后的模糊聚类算法将紫色的点和蓝色的点能清楚的分开,两个类之间的界限很明显而模糊C-均值算法分类的程度就不是很清晰,分别属于两个类的绿色的点和紫色的点几乎重合,可见类与类之问划分不清晰。图4改进算法后的目标函数图图2改进算法后的聚类效杲图喷笔签义,引入了重要参数-模糊加权因子,模糊加权因子的引入,使得数据空间中各数据点所具有的特大连大学学征优势不同,导致对距离的贡献也不同,这是两种距离定义方法的根本区别之处。并且用数据仿真验证了这种改进了的模糊聚类算法比原来的算法聚类更有效,分类更清晰,速度快。参考文献O一0年第五期[l} Timothy J.Ros.模糊逻辑及其工栏应用[M].北京:电子工业出版社,20032]鲁宇,范希鲁.模糊加权距离及其合理性讨论[J].北方交通大学学报,1990(2)[3]王士同、神经模糊系统及其应用[M].北京:北京航天航空大学出版社,1998(6)图5FCM目标函数图T 4 1 Kazutaka Umuyaharu, Saclaaki MiyarIulo and Yoshiteru图4的是改进算法后的目标函数图(引入模糊Nakamori, Formulations of Fuzzy Clustering for Categorical加权因子),图5是经典的模糊C-均值算法目Data, International Journal of Innovative ComputingInformation and Control(lICIC), vol 1, no, 1, pp 83标函数图。可以看出图4的函数曲线比图5的函94,2005(3)数曲线更加平滑,收敛速度快。[5 Hugang Han, Information System with Fuzzy Weights5结论Intermational Journal of Innovative Computing, Information本文讨论的是对模糊C-均值聚类算法的改and Control JICIC ) vol. 2, no 3, pp 553-565, 2006进,在原有的模糊C-均值算法的基础上,用一种6]吴晓莉,林哲辉.MAⅣLAB埔助模湖系统设计[M.西安:新的定义距离的方法替代欧氏空间中距离的定西安电子科技大学出版社,2002.Improvement of the Fuzzy C-Means Clustering AlgorithmWANG Ying-jie Wang, BAI Feng-bo, WANG Jin-hui(1. College of Information Engineering, Dalian University, Dalian, 116622, China2. MSPD, HiSoft Technology Intemational Ltd., Beijing, 100074, China3. Beijing Electromechanical Engineering Insitute, Beijing, 100074, ChinaAbstract: An improvement algorithm about the fuzzy c-means clustering algorithm is discussed in this paper. Basedon original fuzzy c -rneans clustering algorithm, the improvement algorithm uses a new way of defining distance todisplace the distance in Euclidean space. Experimental results show that the improvement algorithm is better thanal algurithm and the classification is clearer than original algKey words Fuzzy c-means algorithm; Fuzzy weighted distance; Fuzzy weighted factor
- 2020-12-07下载
- 积分:1
-
非局部去噪算法,matlab实现
用matlab实现的非局部去噪,算法执行速度虽然有些慢,但是效果相比较于双边滤波而言是非常好的。
- 2020-12-07下载
- 积分:1
-
lighttools6.3附带例子
lighttools附带例子,包括TIR和LED模型等
- 2020-12-08下载
- 积分:1
-
数学建模十大算法程序详解.rar
数学建模十大算法程序详解.rar数学建模十大算法程序详解.rar数学建模十大算法程序详解.rar数学建模十大算法程序详解.rar数学建模十大算法程序详解.rar数学建模十大算法程序详解.rar数学建模十大算法程序详解.rar
- 2020-11-30下载
- 积分:1
-
一种求解带时间窗车辆路径问题的混合差分进化算法
时间窗的车辆路径问题进行研究,建立以最小化车辆数量和行驶路程为目标的多目标数学模型,提出一种结合改进差分进化算法和变邻域下降搜索的基于Pareto支配的混合差分进化算法。首先重新定义了个体的生成方式。其次,结合双种群策略和变邻域下降搜索技术来平衡算法的全局探索能力和局部开发能力,并在搜索过程中用随机个体替代种群中的重复个体,维持种群的多样性。然后引入Pareto支配的概念来评价个体的优劣性,并采用擂台法则构造非支配解集其中,N是种群规模,gem为当前进化代数, gem为最大进化按照这种方法,直到所有的顾客都被服务。这种解码方法可代数。以使解码后的路径和解码前染色体中所对应的路径方案·在进化过程中,采用双种群机制,使算法既能从局部极值致,并且使用车辆的数量可以在解码过程中灵活动态地获得,的邻域跳转到全局最优解的邻域,又能在全局最优解的邻域从而实现对车辆数量的自动寻优。例如染色体串361857内进行精细搜索,在每代进化完后通过子种群重组实现信息294,经过路径解码为:路线1:0→3→-6→0;路线2:0→1→8交流和融合,平衡算法的全局探索能力和局部开发能力→57→0;路线3:0→2→9-4→0随着进化过程的进行,种群中的个体会趋于一致,因此在3.3.2初始种群生成每次执行完变异、交义、选择操作后,采用随机个体替换掉种产生初始种群时,为了保证种群的多样性,其中90%的群中的重复个体,维持种群的多样性,以增强种群的全局探索个体采用N个顾客节点随机排列的方式来产生,应用前向插能力,然后从种群中随机选取若干个个体进行变邻域下降搜启发式算法(PFH)来生成剩下10%的个体。索进一步提高算法的局部开发能力降低算法陷入局部最优3.3.3变异操作的风险。鉴于标准差分进化算法采用实数编码,不能直接应用于3.2算法步骤VRPW问题,由于采用了自然数编码,因此重新设计了变异基丁以上的算法思想描述,混合差分进化算法的具体步操作方式来产生变异个体。由标准DE算法可知,变异个体骤如下是由目标种群中随机选择的3个目标个体相互作用的结果步骤1设置算法的相关参数,生成算法的初始种群设记x=[x,x2,…,x]V=[1,2,进化代数gen=0;[uE,1,t2,…,n]分别为第G代目标种群变异种群和试验步骤2根据 Pareto支配思想对种群中的个体适应值进种群的第z个个体。行评价,利用擂台法则和拥挤距离机制将种群个体分层排序,(1)P1子种群采用“DE/best/1”变异策略,重新定义得到每个个体的非支配层等级和拥挤距离值;v=g(F⑧g(x,Y),X)步骤3按照个体的非支配层等级和拥挤距离,并根据式中,1r2是区间[1,n里互不相等的整数;X是当前目式(12)式(13将种群划分为两个不同大小的子群P1和P2标种群中最好的个体,在本文中从非支配层等级序号最小的步骤4P1子群执行DE/bes1变异策略,P2子群执行非支配层中随机选取;F为缩放因子,且F∈[0,门DE/rand/1变异策略,并根据3.3.4节执行交叉操作;式(14)由两部分组成,第一部分为步骤5将初始种群与子群P1、P2重组为一个混合种△=F⑧g(X°,Y)群g(班,X),rand()
- 2020-12-09下载
- 积分:1
-
tshark源码分析程序流程图(VISIO)
由于要做码流处理,最近把功能强大开源的wireshark当成了“捷径”,想从其中摘取解析引擎部分。这就开始了全部源码的编译、分析过程。大概用了两周,基本捋清了它的运行机制。但到摘取代码的时候发现,难度好大,源文件众多,条件编译众多,依赖库众多。。。现将2周分析源码的“成果”贴出来(更多的是想与同样分析wireshark的网友一起探讨,经验分享),有不恰当及错误的地方,欢迎各位大神指正,如果能帮助到其他人则是更好,现以流程图方式展现。注意:此流程图是在指定抓取固定包数的模式下进行的(因为其源码条件抓包分为文件及包数的方式)。命令格式如:./tshark -c 200 并且,流程图中未详
- 2020-12-09下载
- 积分:1
-
ansoft Maxwell 3d教程.pdf
ansoft Maxwell 3d 向导式的用户界面、精度驱动的自适应剖分技术和强大的后处理器时的Maxwell 3D成为业界最佳的高性能三维电磁设计软件。可以分析涡流、位移电流、集肤效应和邻近效应具有不可忽视作用的系统,得到电机、母线、变压器、线圈等电磁部件的整体特性。功率损耗、线圈损耗、某一频率下的阻抗(R和L)、力、转矩、电感、储能等参数可以自动计算。同时也可以给出整个相位的磁力线、B和H分布图、能量密度、温度分布等图形结果。本文件是软件使用教程.希望能帮助大家·Printing HistorNew editions of this manual include material up dated since theprevious edition. The manual printing date, indicating the manualscurrent edition, changes w hen a ncw edition is printed. Minorcorrections and updates incorporated al reprint do not cause the daleto changeUpdate packages may be issued betw een editions and containadditional and/ or rep lacement pages to be merged into the manualby the user Pages which are rearranged because of changes on aprevious page are not considered to be revised.EditionDateSoftwareRevisionFebruary 1991April 199212December 1993October 19964.1September 19995.06December 20006.0WWW⊥nmTypeface ConventionsComputerCter type is used fon promptsand messages, for field names, and for keyboard entries that must be ty ped in theirentirety exactly as shown. For example, thenstruction"copy filel"means to type the w ordcopy, to type a space. and then to type filelMenu/Command Computer type is also used to display the commands that are needed to perform a specifictask Menu levels are separated by forwardslashes (/) For example, the instructionhoose File/Open"means to choose the Opencommand under the file menuItalicsItalic type is used for emphasis and for thetitles of manuals and other publications. Italictype is also used for key board entries when aname or a variable must be typed in place ofthe words in italics. For example, the instruc-rion“ copy filename” means to type the wordcopy, to type a space, and then to type then amc of a filc. such as filelKeysHelvetica type is used for labeled keys on thecomputer keyboard. For example, the instruc-tion"Press Return?"means to press the key onthe com puter that is lahcled Returnwww.docin.coInstallationBefore you use Maxwell 3D, you must1. Set up your systems graphical windowing systerm2. Install the Maxwell softw are, using the directions in theAnsell PC or UNIX Installation guideIf you have not yet done these steps, refer to the ansoft installetionguides and the documentation that came w ith your computer systemor ask your system administrator for helpsing a Graphical User InterfaceIf you are familiar with the concepts of using a mouse, menus, andother graphical user interface(GUn)tools, skip to Chapter 1“ IntroductionIf you have not used GuI systems before, this section will help youunderstand some of the terminology used in this guide. Since GUIare basically visual, the best way to learn to use them is by practicingon your systemMost gui systcms usc a mouseas a poinTing device, with whichyou can select areas on the screenfor command execution andmoving from one program toanother. Your mouse may have 2www.door 3 buttons; Maxwell 3D ignoresthe middle button on 3-buttondelsAnsoft products donot usc this button. You canprogram mouse buttons to work in non-standard ways, as you mightwant to if you are left-handed. For simplicity, the left-hand hutton(under your forefinger if you are right-handed) is called the leftbutton, and the one on far right is the right mouse button. You willprobably find the terms intuitive once you use these buttons a fewtimesPoint and click; Right clickTo choose an item with the mouse, first move it on your desk until thearrow cursor is on that item; you are now pointing" at the item. Next,ress and release the left bu tton thlled"clicking " Point-andclick is the most common action you will make with your mouseally, click" refers to a lefise button clickYou can sometimes use your right mouse button to access or entercommands. In the 3d Modeler for instance, a right mouse buttonclick causes a short menu of commands to appear at the moustcursor. Generally, right click "refers to a right mouse button clickDouble-ClickOccasionally you may want to sclect all of thc text in a box,orperform a special lask(such as indicating the end of drawing a linewhile you are using Maxwell 3D. You can do this efficiently byquickly clicking twice with your left mouse button -a doubleDragging objects; Click and HoldWhen you are drawing in the 3D Modeler, you can often use yourmouse to enter objects and move around the screen. Frequently, youwill click the mouse button and hold it down until the next part of thecommand is reached (the object is oved, the next point is enteredand so forth). If you click and hold on the edge of a w indow, you canposition, or drag, the window on your screen. You can often dragobjects in Maxwell; experiment to see w hat will moveTool BarsTool bars are shortcut methods for entering commands. There is atool bar in the 3d Modeler and most of the setup modules for severalcommand s. To use a tool bar. click the mouse cursor on the buttonyou want to use. Here is an example of a tool bar囗。圖哦良风≌固函MenusWithin each screen of maxwell 3d are areas w hich list subsets ormenus,of commands. You can access a menu by clicking your mouseon the word or button that indicates the menu. The menu is pulleddown, listing the commands available on that menu. (For examplethc New command is availablc on the File mcnu. Usually, thc mcnuwill remain displayed until you choose a command, or click on thedesktop to exit. If the menu does not remain displayed, click and holdthe mouse button, then release the button to make your choiceFile Edit viewNewopenCloseSavectrl+SSave AsImportExportExitctrl+QAn arrow on the right side of a command indicates that there is asubmenu for that command. An ellipsis (. )indicates that a pop-upwindow appears aftcr choosing this commandWhen you are asked to use a menu command, each level is separatedby a"/". Thus, to zoom in on a drawing, you would choose the viewLoom In menu command To open a new file, you would choose File/There are also pop-up menus, which appear when you righL-click ona maxwell modeler window. choose commands from thcsc menus inthe same way as from menu barsFor more information on using GUIs, refer to"User Interface"in theMaxwell Control Panel,s online help systemOther ReferencesFor detailed information on Maxwell 3d commands refer to theonline documentation for the maxwell 3d field simulatorTo start maxwell 3d, you must first access the maxwell controlPanel. for more detailed inform ation on the maxwell control panelcommands, refer to the Maxwell Control Panels online help systemwww.docin.comTable of Contents1. Introduction1-1General Procedure.1-2The Sample Problem1-4Meshes.....,,,,,,,,面2. Create aAccess the maxwell Control Panel·:.·:·甲,,,,,,,,,,2-2Start the Project managerCreate a Project directoryCreate a New project··,···············,·,,,,,,,,,,2-6Enter notes2-73. Draw the model3-1Open the project3-2Start. the 3D Modeler3-3Side window........................snaps3-6Define the problem region: Coordinates and Units ..,...... 3-7Absolute and relative coordinates3-7Grids3-7Zooming in and out of the view window3-9Create the electromagnet3-10Draw the Coil...,,.,..,3-10Draw thc Circlc........,..,...,,,......,..........3-10Create the Cylinder,,3-11Create the hole for the Core3-12Draw the Core·中··············3-13SavingP3-14Create the magnel翻...3-15Draw the magnet3-15Move the magnet3-15Toggle Off the Background..................3-16Create a termini..........,,,,,..,,,,......,,,..3-17Create the Coil terminal..........,,......,,,.,..3-18Define the Problem Region;..,;;“;##.3-20Define the Problem Region .................. 3-21Shading and rendering . ......................................3-22Exit the 3d modeler3-234 Define The problemAccess the Material Manager4-2Exclude the background·····+···,,,,,,,,,,,,,,.4-2Assign Steel to the CoreAssign Copper to the Coil4-3Assign vacuum to the problem Region.......4.......4-3Assign NdFe35 to the Magnet4-3Access the 3D Boundary/Source Manager45assign a current to the coil.....4-6Define the sourceAssigning the Source lo the Termina.........,..,,,,∴4-64-7Check the Direction of the CurrentExit the 3D Boundary/Source Manager4-85. Generate a Solution5-1Setup executive Parameters······5-2Create a Force Setup for the Magnet.5-3Create a Force Setup for the Coil and Core5-3Create a Force Setup for the entire model·········Exiting the Executive Parameters moduleSpecifying Solution Criteria·非5-5Solver type11翻自。■非非首·····:.··.·Magnetic Field SolveResidualSolve for Field and Parameters+++++++++++++++++++++;,+“++Adaptive analysisContents-2
- 2020-11-27下载
- 积分:1
-
MFC+Opencv+Zbar通过摄像头拍照识别条码.zip
【实例简介】参考资料已经在代码中注明,在原有代码修复了一些小bug,使用了CvvImage类进行相片显示,可拍照也可加载图片!识别的话与照片清晰度有关....
- 2021-12-05 00:38:11下载
- 积分:1