没有合适的资源?快使用搜索试试~ 我知道了~
首页MATLAB入门指南(第四版):工程人员实用教材
MATLAB入门指南(第四版):工程人员实用教材
需积分: 50 75 下载量 21 浏览量
更新于2023-06-02
2
收藏 17.98MB PDF 举报
"MATLAB for Engineers (4th edition) 是一本针对工程师的专业书籍,由Prentice Hall出版,专为工程入门级学生设计。该书作为ESource系列的一部分,涵盖了广泛的主题,旨在支持大学生在初级工程课程中的学习。书中不仅深入浅出地介绍了MATLAB编程,这是一种在工程领域广泛应用的计算机应用程序,用于数学计算、数据可视化、控制系统设计等高级分析任务。 该书特别强调实践性,适合于那些初次接触MATLAB或希望提升技能的学生,因为英文版的编写方式易于理解,即使对于非母语读者也相对友好。此外,ESource系列的特点是可以进行高度定制。每本书都可以单独购买,或者通过电子定制程序,让教师能够根据自己的课程需求选择和排列章节,甚至添加他们自己的教学资料,如课程大纲和讲义。 在ESource系列中,作者都是教育专家,具有丰富的工程背景,这确保了教材内容的权威性和实用性。对于学生而言,这本书提供了从基础概念到实际应用的全面指导,而对教师来说,则是一个灵活的教学工具,能够帮助他们在课堂上提供个性化的学习体验。 总体而言,MATLAB for Engineers (4th edition) 是一本极具价值的参考书籍,不仅有助于学生掌握MATLAB编程,还涵盖了工程设计、问题解决技巧、沟通与团队合作等多个方面,是提升工程技能和适应现代工程技术挑战的理想资源。" 这个版本的书籍既适合独立学习者,也适合课堂教学,是任何工程专业学生学习和发展职业生涯的重要参考资料。
资源详情
资源推荐
xiv About This Book
user-interface. The changes in this edition reect these software updates. They
include:
• All of the screen shots throughout the book were updated to reect the 2013a
release.
• Many built-in graphical user interfaces (GUIs) are now packaged in MATLAB
®
as “apps.” Apps are discussed in Chapter 2 and the MuPad app is introduced in
Chapter 12.
• The creation of user-dened symbolic functions is introduced in Chapter 12.
• The behavior of several symbolic functions has changed, which is reected in
the content of Chapter 12.
• Additional problems were added and some problems were modied, based on
the feedback from both instructors and students who have used the book.
• A number of new functions are introduced throughout the book, suggested to
us by adopters of the text.
xv
Dedication and
Acknowledgments
This project would not have been possible without the support of my family. Thanks
to Mike, Heidi, Meagan, and David, and to my husband, Dr. Steven Purcell. I also
beneted greatly from the suggestions for problems related to electricity from Lee
Brinton and Gene Riggs of the SLCC Electrical Engineering Department. Their
cheerful efforts to educate me on the mysteries of electricity are much appreciated.
I’d also like to thank Quentin McRae, also at SLCC, who made numerous sugges-
tions that improved the homework problems.
This book is dedicated to my father, Professor George E. Moore, who taught in
the Department of Electrical Engineering at the South Dakota School of Mines and
Technology for almost 20 years. Professor Moore earned his college degree at the age
of 54 after a successful career as a pilot in the United States Air Force and was a living
reminder that you are never too old to learn. My mother, Jean Moore, encouraged
both him and her two daughters to explore outside the box. Her loving support made
it possible for both my sister and I to enjoy careers in engineering—something few
women attempted in the early 1970s. I hope that readers of this text will take a minute
to thank those people in their lives who’ve helped them make their dreams come
true. Thanks Mom and Dad.
This page intentionally left blank
1.1 WHAT IS MATLAB
®
?
MATLAB
®
is one of a number of commercially available, sophisticated mathematical
computation tools, which also include Maple, Mathematica, and MathCad. Despite
what proponents may claim, no single one of these tools is “the best.” Each has
strengths and weaknesses. Each allows you to perform basic mathematical computa-
tions. They differ in the way they handle symbolic calculations and more complicated
mathematical processes, such as matrix manipulation. For example, MATLAB
®
(short for
Matrix Laboratory) excels at computations involving matrices, whereas Maple excels
at symbolic calculations. At a fundamental level, you can think of these programs as
sophisticated computer- based calculators. They can perform the same functions as
your scientic calculator— and many more. If you have a computer on your desk, you
may nd yourself using MATLAB
®
instead of your calculator for even the simplest
mathematical applications— for example, balancing your checkbook. In many engi-
neering classes, the use of programs such as MATLAB
®
to perform computations is
replacing more traditional computer programming. Although programs such as
MATLAB
®
have become a standard tool for engineers and scientists, this doesn’t
mean that you shouldn’t learn a high- level language such as C++, JAVA, or FORTRAN.
Because MATLAB
®
is so easy to use, you can perform many programming tasks
with it, but it isn’t always the best tool for a programming task. It excels at numerical
calculations— especially matrix calculations— and graphics, but you wouldn’t want to
After reading this chapter, you
should be able to:
•Understandwhat
MATLAB
®
is and why it is
widely used in engineering
and science
•Understandtheadvantages
and limitations of the stu-
dent edition of MATLAB
®
•Formulateproblemsusing
a structured problem-
solving approach
Objectives
About MATLAB
®
CHAPTER
1
2 Chapter 1 About MATLAB
®
use it to write a word- processing program. For large applications, such as operating
systems or design software, C++, JAVA, or FORTRAN would be the programs of
choice. (In fact, MATLAB
®
, which is a large application program, was originally
writteninFORTRANandlaterrewritteninC,aprecursorofC++.)Usually,high-
level programs do not offer easy access to graphing— an application at which
MATLAB
®
excels. The primary area of overlap between MATLAB
®
and high- level
programs is “number crunching”—repetitive calculations or the processing of large
quantities of data. Both MATLAB
®
and high- level programs are good at processing
numbers. A “ number- crunching” program is generally easier to write in MATLAB
®
,
but usually it will execute faster in C++ or FORTRAN. The one exception to this
rule is calculations involving matrices. MATLAB
®
is optimized for matrices. Thus, if
a problem can be formulated with a matrix solution, MATLAB
®
executes substan-
tially faster than a similar program in a high- level language.
MATLAB
®
is available in both professional and student versions. The profes-
sional version is probably installed in your college or university computer labora-
tory, but you may enjoy having the student version at home. MATLAB
®
is updated
regularly; this textbook is based on MATLAB
®
8.1. If you are using earlier versions
such as MATLAB
®
6 or 7, you will notice a signicant difference in the layout of the
graphical user interface; however, the differences in coding approaches are minor.
There are substantial differences in versions that predate MATLAB
®
5.5.
The standard installation of the professional version of MATLAB
®
is capable of
solving various technical problems. Additional capability is available in the form of
function toolboxes. These toolboxes are purchased separately, and they may or may
not be available to you. You can nd a complete list of the MATLAB
®
product fam-
ily at The MathWorks web site, www.mathworks.com.
1.2 STUDENT EDITION OF MATLAB
®
The professional and student editions of MATLAB
®
are very similar. Beginning stu-
dents probably won’t be able to tell the difference. Student editions are available
for Microsoft Windows, Mac, and Linux operating systems and can be purchased
from college bookstores or online from The MathWorks at www.mathworks.com.
The MathWorks packages its software in groups called releases, and MATLAB
®
8.1
is featured, along with other products, such as Simulink, in Release R2013a. New
versions are released every six months. The release number is the same for both the
student and professional editions, but the student version may lag the professional
version by several months. The student edition of R2013a includes the following
features:
• FullMATLAB
®
• Simulink,withtheabilitytobuildmodelswithupto1000blocks(theprofes-
sional version allows an unlimited number of blocks)
• SymbolicMathToolbox
• ControlSystemsToolbox
• DataAcquisitionToolbox
• InstrumentControlToolbox
• SimulinkControlDesign
• SignalProcessingToolbox
• DSPSystemToolbox
• StatisticsToolbox
• OptimizationToolbox
KEY IDEA
MATLAB
®
is optimized for
matrix calculations
KEY IDEA
MATLAB
®
is regularly
updated
剩余671页未读,继续阅读
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功