Welcome![Sign In][Sign Up]
Location:
Search - matlab calculator

Search list

[OtherAn Introduction to Matlab

Description: 1 MATLAB 2 2 Starting Up 2 2.1 Windows Systems . . . . . . . . . . 2 2.2 Unix Systems . . . . . . . . . . . . . 2 2.3 Command Line Help . . . . . . . . . 2 2.4 Demos . . . . . . . . . . . . . . . . . 3 3 Matlab as a Calculator 3 4 Numbers & Formats 3 5 Variables 3 5.1 Variable Names . . . . . . . . . . . . 3 6 Suppressing output 4 7 Built{In Functions 4 7.1 Trigonometric Functions . . . . . . . 4 7.2 Other Elementary Functions . . . . . 4 8 Vectors 4 8.1 The Colon Notation . . . . . . . . . 5 8.2 Extracting Bits of a Vector . . . . . 5 8.3 Column Vectors . . . . . . . . . . . . 5 8.4 Transposing . . . . . . . . . . . . . . 5 9 Keeping a record 6 10 Plotting Elementary Functions 6 10.1 Plotting|Titles & Labels . . . . . . 7 10.2 Grids . . . . . . . . . . . . . . . . . . 7 10.3 Line Styles & Colours . . . . . . . . 7 10.4 Multi{plots . . . . . . . . . . . . . . 7 10.5 Hold . . . . . . . . . . . . . . . . . . 7 10.6 Hard Copy . . . . . . . . . . . . . . 8 10.7 Subplot . . . . . . . . . . . . . . . . 8 10.8 Zooming . . . . . . . . . . . . . . . . 8 10.9 Formatted text on Plots . . . . . . . 8 10.10Controlling Axes . . . . . . . . . . . 9 11 Keyboard Accelerators 9 12 Copying to and from Word and other applications 10 12.1 Window Systems . . . . . . . . . . . 10 12.2 Unix Systems . . . . . . . . . . . . . 10 13 Script Files 10 14 Products, Division & Powers of Vectors 11 14.1 Scalar Product (*) . . . . . . . . . . 11 14.2 Dot Product (.*) . . . . . . . . . . . 11 14.3 Dot Division of Arrays (./) . . . . . 12 14.4 Dot Power of Arrays (.^) . . . . . . 12 15 Examples in Plotting 13 16 Matrices|Two{Dimensional Arrays 13 16.1 Size of a matrix . . . . . . . . . . . . 14 16.2 Transpose of a matrix . . . . . . . . 14 16.3 Special Matrices . . . . . . . . . . . 14 16.4 The Identity Matrix . . . . . . . . . 14 16.5 Diagonal Matrices . . . . . . . . . . 15 16.6 Building Matrices . . . . . . . . . . . 15 16.7 Tabulating Functions . . . . . . . . . 15 16.8 Extracting Bits of Matrices . . . . . 16 16.9 Dot product of matrices (.*) . . . . 16 16.10Matrix{vector products . . . . . . . 16 16.11Matrix{Matrix Products . . . . . . . 17 16.12Sparse Matrices . . . . . . . . . . . . 17 17 Systems of Linear Equations 18 17.1 Overdetermined system of linear equations . . . . . . . . . . . . . . . . . . 18 18 Characters, Strings and Text 20 19 Loops 20 20 Logicals 21 20.1 While Loops . . . . . . . . . . . . . . 22 20.2 if...then...else...end . . . . . . 23 21 Function m{ les 23 21.1 Examples of functions . . . . . . . . 24 22 Further Built{in Functions 25 22.1 Rounding Numbers . . . . . . . . . . 25 22.2 The sum Function . . . . . . . . . . . 25 22.3 max & min . . . . . . . . . . . . . . . 26 22.4 Random Numbers . . . . . . . . . . 26 22.5 find for vectors . . . . . . . . . . . . 27 22.6 find for matrices . . . . . . . . . . . 27 23 Plotting Surfaces 27 24 Timing 28 25 On{line Documentation 29 26 Reading and Writing Data Files 29 26.1 Formatted Files . . . . . . . . . . . . 30 26.2 Unformatted Files . . . . . . . . . . 30 27 Graphic User Interfaces 31 28 Command Summary 32
Platform: | Size: 877346 | Author: taffy320 | Hits:

[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:

[Mathimatics-Numerical algorithmsCalculator

Description: 一个简单的计算器,用MATLAB开发-a simple calculator, developed using MATLAB
Platform: | Size: 113664 | Author: 哈哈哈 | Hits:

[Compress-Decompress algrithmsmatrixd

Description: 我们的作业,matlab 的作业 包括计算器以及几个小程序等,具体内容大家请自己看-our operations, including operations Matlab calculator and several small procedures, the specific content please themselves.
Platform: | Size: 16384 | Author: 老虎 | Hits:

[matlabMatlab编的计算器

Description: 本程序是在Matlab6.5下编写的一个计算器的程序,是Matlab的GUI编程的很好例子。 -the procedure was Matlab6.5 prepared a calculator procedures, Matlab GUI Programming good example.
Platform: | Size: 6144 | Author: 代丛军 | Hits:

[Othersimulate-dpsk8

Description: 本例用matlab语言实现了8dpsk的编解码及通过awgn信道的仿真。采用蒙特卡罗仿真法,得到误码性能,绘制曲线。可用于算法研究或课程学习。-cases using the Matlab language of the codec 8dpsk and awgn channel through the simulation. Using Monte Carlo simulation, to be error performance, drawing curves. Algorithms can be used to study or courses.
Platform: | Size: 2048 | Author: 陆游 | Hits:

[matlabMATLABjisuanqi

Description: MATLAB编写的3个简易计算器程序,hh那个是本人综合另两个写出来的,简易好用。具体用法不用我说了,大家将所有代码放在MATLAB安装文件的work里面即可。可能还需要GUI绘图,具体我忘了,一年前做的。-MATLAB prepared by the three simple calculator program, which is my hh another two comprehensive written, Simple handy. I do not have specific directions said, we will put all of the code of MATLAB installation work will be inside. May also need GUI drawings, specific, I forgot, a year ago to do.
Platform: | Size: 16384 | Author: 潘世雄 | Hits:

[EditBoxCalculator

Description: 采用matlab编制计算器的重要示范程序,直接运行即可。-Matlab calculator using the preparation of an important model procedures can be directly run.
Platform: | Size: 1024 | Author: 何再兴 | Hits:

[matlabCalculator

Description: Matlab中用GUI设计一简单计算器。-err
Platform: | Size: 5120 | Author: 可可果子 | Hits:

[matlabca

Description: matlab计算器的示例,适合初学者学习之用.-matlab calculator example, suitable for beginners learning.
Platform: | Size: 4096 | Author: wl | Hits:

[Windows Developcalculator(GUI)

Description: 用Matlab中的GUI实现简单的计算器,包括加、减、乘、除等功能。-Using Matlab
Platform: | Size: 6144 | Author: wanglu | Hits:

[matlabcalculator

Description: 用matlab编写得计算器,很好用得,不妨-Matlab prepared using a calculator, a very good use might be
Platform: | Size: 1024 | Author: 刘阔 | Hits:

[matlabcalculator

Description: 一个简单的计算器程序 对于初学matlabGUI程序者比较有帮助-A simple calculator program for beginner matlabGUI procedure more help
Platform: | Size: 6144 | Author: 雪儿 | Hits:

[matlabmatlab

Description: matlab中编写计算器程序,matlab中编写计算器程序-matlab calculator in the preparation of procedures, matlab calculator in the preparation of procedures
Platform: | Size: 1024 | Author: 卢利 | Hits:

[Graph Drawingjisuanqi

Description: 用MATLAB GUI实现的一个计算器界面,能实现简单的功能-MATLAB GUI implementation using a calculator interface, easy to realize the function of
Platform: | Size: 7168 | Author: legenlay | Hits:

[matlabCalculator

Description: 这是在MATLAB7.0.1版本上实现的一个简单的模拟计算器的界面和功能的程序,主要给有一定基础的初学者提供参考,希望对大家有帮助。-This is the version at MATLAB7.0.1 on the implementation of a simple analog calculator function interface and procedures, the main foundation for the beginner must have a reference, in the hope that everyone has to help.
Platform: | Size: 11264 | Author: 朱留路 | Hits:

[OthercalculaterdesignusingMATLAB

Description: 是一个用MATLAB编写的计算器的程序实现加减乘除等运算-MATLAB is used to prepare the calculator program, such as addition and subtraction multiplication and division operations
Platform: | Size: 1024 | Author: songyunxia | Hits:

[Windows Developjsq

Description: matlab做的计算器,程序并不是很复杂,有兴趣的朋友可以去-matlab calculator to do, the program is not very complicated and friends who are interested can go look at the
Platform: | Size: 6144 | Author: 桑伟 | Hits:

[matlabtricordic

Description: 用CORDIC计算器计算sin,cos。包含浮点仿真模型和定点仿真模型-CORDIC calculator with sin, cos. Contains the floating-point simulation model and the fixed-point simulation model
Platform: | Size: 1024 | Author: Fengxiaodong | Hits:

[Othercalculator (4)

Description: Implement calculator with MATLAB
Platform: | Size: 6144 | Author: zahrakh | Hits:
« 12 3 4 5 6 7 8 9 10 ... 18 »

CodeBus www.codebus.net