这是一本有关MATLAB的参考书,适合于使用MATLAB或正在打算使用MATLAB的读者。本书另辟蹊径可以借助或不借助MATLAB随带的文档资料让读者自学MAT...
这是一本有关MATLAB的参考书,适合于使用MATLAB或正在打算使用MATLAB的读者。本书另辟蹊径可以借助或不借助MATLAB随带的文档资料让读者自学MATLAB。书中口语化的风格,使读者易于阅读。如书名所示,本书提供了读者精通MATLAB所需的工具。作为编程语言和可视化工具,MATLAB具有丰富的一系列功能,可解决工程、科学计算和数学学科中许多问题。本书的基本目的是通过向读者展示如何有效地使用这些功能来帮助读者增强工作能力。由于MATLAB交互式的性质,书中内容以举例方式来描述。在读者阅读本书的同时, 这些例子可以通过运行MATLAB而再现。
本书只涉及一般读者所用到的一些专题,所提供的资料可用于包括UNIX工作站、Macintosh 和PC在内的所有计算机平台。除了标准的MATLAB本身这部分的功能之外,书中只讨论了字符工具箱。其它更为专用的工具箱没有进行讨论。而且,没有讨论与机器有关的MATLAB诸方面,例如MEX文件的编写。
本书开发了许多M文件函数,它扩展了MATLAB的功能。在书中,作者演示了各种MATLAB的功能和编程技术,它们总称为精通MATLAB的工具箱。
-This a reference book on MATLAB. suitable for use MATLAB or intend to use MATLAB readers. The book can take advantage of alternatives to using MATLAB or not accompanied by the documents and information for readers to self- MATLAB. The book colloquial style, so that readers easily readable. As indicated in the title, this book provides readers proficiency in the necessary tools for MATLAB. As a programming language and visualization tools, MATLAB is rich in a variety of functions, address, S
- 2023-05-10 06:05:03下载
- 积分:1
图论中最小生成树Kruskal算法 及画图程序 M
图论中最小生成树Kruskal算法 及画图程序 M-函数
格式 [Wt,Pp]=mintreek(n,W):n为图顶点数,W为图的带权邻接矩阵,不构成边的两顶点之间的权用inf表示。显示最小生成树的边及顶点, Wt为最小生成树的权,Pp(:,1:2)为最小生成树边的两顶点,Pp(:,3)为最小生成树的边权,Pp(:,4)为最小生成树边的序号 附图,红色连线为最小生成树的图
例如
n=6 w=inf*ones(6)
w(1,[2,3,4])=[6,1,5] w(2,[3,5])=[5,3]
w(3,[4,5,6])=[5,6,4] w(4,6)=2 w(5,6)=6
[a,b]=mintreek(n,w)
-Graph theory Kruskal minimum spanning tree algorithm and Paint program M-function format [Wt, Pp] = mintreek (n, W): n for the map Vertices, W for weighted graph adjacency matrix, does not constitute the edge of the two vertices of between the right to express with inf. Show the minimum spanning tree of edges and vertices, Wt right for the Minimum Spanning Tree, Pp (:, 1:2) for the minimum spanning tree edges of the two vertices, Pp (:, 3) for the minimum spanning tree of the right side, Pp ( :, 4) For the minimum spanning tree graph edge serial number, red connection for the minimum spanning tree of graph such as n = 6 w = inf* ones (6) w (1, [2,3,4]) = [ 6,1,5]
- 2022-01-30 21:32:39下载
- 积分:1