Welcome![Sign In][Sign Up]
Location:
Search - introduction to matlab tutorial

Search list

[OtherINTRODUCTION TO MATLAB FOR

Description: 1 Tutorial lessons 1 1 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Basic features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 A minimum MATLAB session . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3.1 Starting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3.2 Using MATLAB as a calculator . . . . . . . . . . . . . . . . . . . . . 4 1.3.3 Quitting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.1 Creating MATLAB variables . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.2 Overwriting variable . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.3 Error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.4 Making corrections . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.5 Controlling the hierarchy of operations or precedence . . . . . . . . . 6 1.4.6 Controlling the appearance of °oating point number . . . . . . . . . . 8 1.4.7 Managing the workspace . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.4.8 Keeping track of your work session . . . . . . . . . . . . . . . . . . . 9 1.4.9 Entering multiple statements per line . . . . . . . . . . . . . . . . . . 9 1.4.10 Miscellaneous commands . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.4.11 Getting help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2 Tutorial lessons 2 12 2.1 Mathematical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.1.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2 Basic plotting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.1 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.2 Creating simple plots . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.3 Adding titles, axis labels, and annotations . . . . . . . . . . . . . . . 15 2.2.4 Multiple data sets in one plot . . . . . . . . . . . . . . . . . . . . . . 16 2.2.5 Specifying line styles and colors . . . . . . . . . . . . . . . . . . . . . 17 2.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.4 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5 Matrix generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5.1 Entering a vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5.2 Entering a matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.5.3 Matrix indexing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.5.4 Colon operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.5 Linear spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.6 Colon operator in a matrix . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.7 Creating a sub-matrix . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.5.8 Deleting row or column . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.9 Dimension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.10 Continuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.11 Transposing a matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.12 Concatenating matrices . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.13 Matrix generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.5.14 Special matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3 Array operations and Linear equations 30 3.1 Array operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.1.1 Matrix arithmetic operations . . . . . . . . . . . . . . . . . . . . . . . 30 3.1.2 Array arithmetic operations . . . . . . . . . . . . . . . . . . . . . . . 30 3.2 Solving linear equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.2.1 Matrix inverse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.2.2 Matrix functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 4 Introduction to programming in MATLAB 35 4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.2 M-File Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4.2.2 Script side-eRects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 4.3 M-File functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 4.3.1 Anatomy of a M-File function . . . . . . . . . . . . . . . . . . . . . . 38 4.3.2 Input and output arguments . . . . . . . . . . . . . . . . . . . . . . . 40 4.4 Input to a script ¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.5 Output commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 5 Control °ow and operators 43 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.2 Control °ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.2.1 The ``if...end'' structure . . . . . . . . . . . . . . . . . . . . . . . 43 5.2.2 Relational and logical operators . . . . . . . . . . . . . . . . . . . . . 45 5.2.3 The ``for...end'' loop . . . . . . . . . . . . . . . . . . . . . . . . . 45 5.2.4 The ``while...end'' loop . . . . . . . . . . . . . . . . . . . . . . . 46 5.2.5 Other °ow structures . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 5.2.6 Operator precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.3 Saving output to a ¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6 Debugging M-¯les 49 6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.2 Debugging process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.2.1 Preparing for debugging . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.2 Setting breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.3 Running with breakpoints . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.4 Examining values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.2.5 Correcting and ending debugging . . . . . . . . . . . . . . . . . . . . 51 6.2.6 Ending debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.2.7 Correcting an M-¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Platform: | Size: 258288 | Author: taffy320 | Hits:

[Software EngineeringMATLAB

Description: MATLAB基础与编程入门 张威,matlab的基础教程,PPT文档。-Introduction to MATLAB programming foundation and Zhang Wei, matlab tutorial basis, PPT documents.
Platform: | Size: 9634816 | Author: zj | Hits:

[BooksMatLab.pdf(english)

Description: MatLab入门经典英文教程(pdf版),介绍如何使用MATLAB,对于英语阅读能力教强的人阅读.-MatLab Introduction to the classic English tutorial (pdf version), describes how to use MATLAB, for English reading ability and strong teaching people to read.
Platform: | Size: 914432 | Author: 陈林 | Hits:

[matlabgui_tutorial

Description: matlab gui tutorial, a brief introduction for matlab and include an example of image processing
Platform: | Size: 812032 | Author: 熊飞宇 | Hits:

[matlabMIT_matlab

Description: Introduction to matlab at MIT 麻省理工大学的matlab基本教程-Introduction to matlab at MIT Massachusetts Institute of Technology University of basic tutorial matlab
Platform: | Size: 102400 | Author: guanwenye | Hits:

[OtherMatLab-E-book-in-chinese

Description: matlab中文版教程,非常详细的介绍了matlab开发环境,而且附有详细的的案例。共九章,使你轻松进去matlab学习-Chinese version of matlab tutorial, very detailed introduction to the matlab development environment, but also accompanied by a detailed case. A total of nine chapters, so that you easily get to learn matlab
Platform: | Size: 2766848 | Author: 杨乾栩 | Hits:

[Compress-Decompress algrithmscs-tutorial-ITA-feb08-complete

Description: 一种最新型的压缩算法,即压缩感知(compressive sensing)的介绍文档,深入迁出,对于理解CS这一个新思想有很大的帮助-The latest model of a compression algorithm, that is, perceptual compression (compressive sensing) Introduction of the document in depth to move out, for understanding the CS has a lot of new ideas to help
Platform: | Size: 5655552 | Author: kevinkou | Hits:

[AlgorithmTutorial_Modeling

Description: 建模教程 包含变分法,层次分析法,整数规划,图与网格等 附带MATLAB简介-Modeling Tutorial contains variational method, the level of analysis, integer programming, such as map and attached to the grid MATLAB Introduction
Platform: | Size: 1819648 | Author: 李峰 | Hits:

[matlabMIT.matlabnew

Description: mit的MATLAB导论教程,适用于MATLAB初学和基础应用。-mit Introduction to the MATLAB tutorial for beginners and the basis for the application of MATLAB.
Platform: | Size: 346112 | Author: wu ping | Hits:

[matlabtutorial-MATLAB-matrix-notation

Description: AN INTRODUCTION TO MATRIX MANIPULATION IN MATLAB The power that MATLAB brings to digital image processing is the extensive set of functions that are available in MATLAB for processing multidimensional arrays, of which matrices (two dimensional numerical arrays) have a one to one correspondence with digital images. This tutorial discusses and illustrates a number of ways used to manipulate matrices. Usually, this is the first step in learning how to apply MATLAB tools to image processing applications.
Platform: | Size: 152576 | Author: SS | Hits:

[OtherMatlabLearningClassic

Description: matlab入门经典教程,中文,有详细图文和例题-Introduction to classical tutorial matlab, Chinese, detailed graphics and examples
Platform: | Size: 3493888 | Author: liuxi | Hits:

[2D GraphicScaramuzza_OCamCalib_v2.0

Description: 用于对全景镜头进行标定,能求解出图像上对应点的世界坐标的方向向量-The OcamCalib Toolbox for Matlab allows the user (also inexpert users) to calibrate any central omnidirectional camera, that is, any panoramic camera having a single effective viewpoint (see section 17). The Toolbox implements the procedure initially described in the paper(Scaramuzza, D., Martinelli, A. and Siegwart, R., (2006). "A Flexible Technique for Accurate Omnidirectional Camera Calibration and Structure from Motion", Proceedings of IEEE International Conference of Vision Systems (ICVS 06), New York, January 5-7, 2006.) and later extended in (Scaramuzza, D., Martinelli, A. and Siegwart, R., (2006). "A Toolbox for Easy Calibrating Omnidirectional Cameras", Proceedings to IEEE International Conference on Intelligent Robots and Systems (IROS 2006), Beijing China, October 7-15, 2006. ). A detailed introduction to this model is in section 19 of this Tutorial. Furthermore, you can also see a demo of how the toolbox works here. The Toolbox permits the user to easily and quickly cal
Platform: | Size: 5528576 | Author: dony | Hits:

[matlabmatlab

Description: 参加数学建模培训用的matlab教程,有基本用法,还有实例,一个星期之内可以学完,而且会用。 内容如下: MATLAB入门 Matlab作图 线性规划 无约束优化 非线性规划 微分方程 最短路问题 行遍性问题 数据的统计描述与分析 回归分析 计算机模拟 插值 拟合 每讲都包含源码,完全可用。 希望大家多多支持,给个好评。 -Participate in the training of mathematical modeling used matlab tutorial, basic usage, as well as examples of a week to learn End, and will be used. As follows: MATLAB Introduction to Matlab mapping optimization linear programming linear programming differential line shortest path problem over the problem of statistical description and analysis of data, regression analysis, interpolation fitting computer simulation of stresses are included for each source, completely free. Hope you can enjoy, give praise.
Platform: | Size: 5782528 | Author: 李建 | Hits:

[matlabMIT-matlab

Description: MIT Matlab教程:INTRODUCTION TO MATLAB — Fall 1999 Thomas F. Weiss Last modification September 9, 1999 1-MATLAB is a programming language and data visualization software package which is especially effective in signal processing and systems analysis. This document is a brief introduction to MATLAB that focuses on those features that are of particular importance in 6.003.1 It is assumed that the reader is familiar with Project Athena, has an Athena account, and has little or no experience with MATLAB. Other MATLAB help is available through Athena consulting which offers a number of more tutorial handouts and short courses (ext. 3-4435), on-line consulting (type olc at the Athena prompt), and Athena on-line help (type help at the Athena prompt). There are a number of books available that describe MATLAB. For example, Engineering Problem Solving with Matlab, by D. M. Etter, published by Prentice-Hall (1997) and Mastering MATLAB, by Hanselman and Littlefield, published by Prentice-Hall (1996). The paperback MATLAB Primer by K. Sigmon, published by CRC Press (1994) is a handy summar
Platform: | Size: 101376 | Author: Alex Du | Hits:

[Software EngineeringMATLAB-Tutorial-1

Description: This a very good introduction to Matlab for FEM code developers-This is a very good introduction to Matlab for FEM code developers
Platform: | Size: 225280 | Author: mehdi | Hits:

[Software Engineeringmatlab-tutorial

Description: An Introduction to MATLAB and SIMULINK
Platform: | Size: 113664 | Author: ehsan | Hits:

[OtherMATLAB-basic-course

Description: 关于Matlab的基础教程,从界面介绍到实例教程,内容丰富,简洁明了。-Based on Matlab tutorial introduction to the tutorial examples from the interface, content-rich, clear and concise.
Platform: | Size: 952320 | Author: 罗平 | Hits:

[OtherINTRODUCTION-TO-MATLAB-(book)

Description: Introduction to matlab tutorial with matlab codes for example to guide the readers
Platform: | Size: 684032 | Author: Abuaisha14 | Hits:

[matlabMATLAB-tutorial

Description: 从最基本的matlab入门知识,到各种编程案例,是一本超级教程。-From the introduction to the basic matlab knowledge, to a variety of programming examples, is a super tutorial.
Platform: | Size: 2476032 | Author: | Hits:

[matlabmatlab

Description: MATLAB入门基础教程,适用于入门级的学习,在ppt格式下实现-Based tutorial introduction to MATLAB, is suitable for the entry level of learning, in PPT format
Platform: | Size: 8187904 | Author: 郭郭 | Hits:
« 12 3 »

CodeBus www.codebus.net