CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - calculator using matlab
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - calculator using matlab - List
[
Mathimatics-Numerical algorithms
]
Calculator
DL : 0
一个简单的计算器,用MATLAB开发-a simple calculator, developed using MATLAB
Update
: 2008-10-13
Size
: 110.95kb
Publisher
:
哈哈哈
[
Other
]
INTRODUCTION TO MATLAB FOR
DL : 0
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
Update
: 2012-02-26
Size
: 252.23kb
Publisher
:
taffy320
[
Mathimatics-Numerical algorithms
]
Calculator
DL : 0
一个简单的计算器,用MATLAB开发-a simple calculator, developed using MATLAB
Update
: 2025-02-19
Size
: 111kb
Publisher
:
哈哈哈
[
Other
]
simulate-dpsk8
DL : 0
本例用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.
Update
: 2025-02-19
Size
: 2kb
Publisher
:
陆游
[
Special Effects
]
jianyijisuanqi
DL : 0
一个简易计算器界面,采用matlab语言编写,共享资源-a simple calculator interface using Matlab language, sharing resources
Update
: 2025-02-19
Size
: 1kb
Publisher
:
老才
[
EditBox
]
Calculator
DL : 0
采用matlab编制计算器的重要示范程序,直接运行即可。-Matlab calculator using the preparation of an important model procedures can be directly run.
Update
: 2025-02-19
Size
: 1kb
Publisher
:
何再兴
[
matlab
]
RiskCalculator
DL : 0
Simple VaR Calculator provides: - Evaluation of return distribution of single asset or portfolio of assets - Volatility forecasts using moving average and exponential algorithm - Value at Risk of single asset or portfolio measurement using parametric and historical simulation. - Historical data can be obtained from simple text file or MS Excel using Matlab Excel Links. -Simple VaR Calculator provides:- Evaluation of return distribution of single asset or portfolio of assets- Volatility forecasts using moving average and exponential algorithm- Value at Risk of single asset or portfolio measurement using parametric and historical simulation .- Historical data can be obtained from simple text file or MS Excel using Matlab Excel Links.
Update
: 2025-02-19
Size
: 19kb
Publisher
:
白洋
[
Windows Develop
]
calculator(GUI)
DL : 0
用Matlab中的GUI实现简单的计算器,包括加、减、乘、除等功能。-Using Matlab
Update
: 2025-02-19
Size
: 6kb
Publisher
:
wanglu
[
matlab
]
calculator
DL : 0
用matlab编写得计算器,很好用得,不妨-Matlab prepared using a calculator, a very good use might be
Update
: 2025-02-19
Size
: 1kb
Publisher
:
刘阔
[
Other
]
calculator
DL : 0
一个简易计算器,能实现两个数的加减乘除运算,用matlab实现-A simple calculator, able to achieve two number addition and subtraction multiplication and division operations, using matlab to achieve
Update
: 2025-02-19
Size
: 291kb
Publisher
:
zyy
[
matlab
]
matlab
DL : 0
这是一个matlab的gui视图设计小程序,用matlab制作的计算器,对帮助学习很有好处-This is a matlab gui view of the design of small programs produced using matlab calculator to help learning is very good
Update
: 2025-02-19
Size
: 300kb
Publisher
:
雷雷
[
source in ebook
]
calculator
DL : 0
用matlab图形界面实现的计算器,使用guide设计界面,用m文件实现运算的算法;须在matlab上运行;-Graphical interface implemented using matlab calculator, use the guide interface design, to achieve operation with the m file algorithm to run in matlab
Update
: 2025-02-19
Size
: 5kb
Publisher
:
mlb
[
matlab
]
Calculator
DL : 0
example caculartor guide using matlab
Update
: 2025-02-19
Size
: 8kb
Publisher
:
le na
[
matlab
]
calcgui3
DL : 0
calculator using matlab
Update
: 2025-02-19
Size
: 1kb
Publisher
:
sunxing22
[
matlab
]
1
DL : 0
calculator using matlab
Update
: 2025-02-19
Size
: 7kb
Publisher
:
sunxing22
[
matlab
]
2
DL : 0
calculator using matlab
Update
: 2025-02-19
Size
: 14kb
Publisher
:
sunxing22
[
matlab
]
MATLAB
DL : 0
利用matlab制作的小型单功能计算器,测试回调函数。-Small single-function calculator using matlab production test callback function.
Update
: 2025-02-19
Size
: 5kb
Publisher
:
李欣
[
Communication
]
Calculator
DL : 0
Development of GUI Calculator using Matlab platform
Update
: 2025-02-19
Size
: 2kb
Publisher
:
Kamal
[
matlab
]
calculator
DL : 0
Sourcecode calculator using matlab
Update
: 2025-02-19
Size
: 20kb
Publisher
:
Faza
[
matlab
]
Calculator_and_FappyBird
DL : 0
Its a simple calculator using MATLAB.
Update
: 2025-02-19
Size
: 41kb
Publisher
:
Alex1
«
1
2
3
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.