Essential MATLAB for Engineers and Scientists
eBook - ePub

Essential MATLAB for Engineers and Scientists

Daniel T. Valentine, Brian H. Hahn

Share book
  1. 428 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Essential MATLAB for Engineers and Scientists

Daniel T. Valentine, Brian H. Hahn

Book details
Book preview
Table of contents
Citations

About This Book

Essential MATLAB for Engineers and Scientists, Sixth Edition, provides a concise, balanced overview of MATLAB's functionality that facilitates independent learning, with coverage of both the fundamentals and applications. The essentials of MATLAB are illustrated throughout, featuring complete coverage of the software's windows and menus. Program design and algorithm development are presented clearly and intuitively, along with many examples from a wide range of familiar scientific and engineering areas.

This updated edition includes the latest MATLAB versions through 2016a, and is an ideal book for a first course on MATLAB, or for an engineering problem-solving course using MATLAB, as well as a self-learning tutorial for professionals and students expected to learn and apply MATLAB.

  • Updated to include all the newer features through MATLAB R2016a
  • Includes new chapter on complex variables analysis
  • Presents a comparison of execution time between compiled and un-compiled code that includes examples
  • Describes the new H2 graphics features

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Essential MATLAB for Engineers and Scientists an online PDF/ePUB?
Yes, you can access Essential MATLAB for Engineers and Scientists by Daniel T. Valentine, Brian H. Hahn in PDF and/or ePUB format, as well as other popular books in Computer Science & Digital Media. We have over one million books available in our catalogue for you to explore.

Information

Year
2016
ISBN
9780128052716
Edition
6
Chapter 1

Introduction

Abstract

The objectives of this chapter are to enable you to use some simple MATLAB commands from the Command Window, to examine various MATLAB desktop and editing features, to learn some of the new features of the MATLAB R2016a Desktop, to learn to write scripts in the Editor and Run them from the Editor, and to learn some of the new features associated with the tabs (in particular, the PUBLISH and APPS features). In this chapter you learn that MATLAB is a matrix-based computer system designed to assist in scientific and engineering problem solving. You also learn that one way to use MATLAB is to enter commands and statements on the command line in the Command Window. In this case the commands you enter are carried out immediately. You are also introduced to a number of useful built-in commands and functions.

Keywords

MATLAB R2016a; Elementary commands; Editing and executing commands
The objectives of this chapter are:
ā–  To enable you to use some simple MATLAB commands from the Command Window.
ā–  To examine various MATLAB desktop and editing features.
ā–  To learn some of the new features of the MATLAB R2016a Desktop.
ā–  To learn to write scripts in the Editor and Run them from the Editor.
ā–  To learn some of the new features associated with the tabs (in particular, the PUBLISH and APPS features).
MATLAB is a powerful technical computing system for handling scientific and engineering calculations. The name MATLAB stands for Matrix Laboratory, because the system was designed to make matrix computations particularly easy. A matrix is an array of numbers organized in m rows and n columns. An example is the following
Image
array:
Image
Any one of the elements in a matrix can be plucked out by using the row and column indices that identify its location. The elements in this example are plucked out as follows:
Image
,
Image
,
Image
,
Image
,
Image
,
Image
. The first index identifies the row number counted from top to bottom; the second index is the column number counted from left to right. This is the convention used in MATLAB to locate information in an array. A computer is useful because it can do numerous computations quickly, so operating on large numerical data sets listed in tables as arrays or matrices of rows and columns is quite efficient.
This book assumes that you have never used a computer before to do the sort of scientific calculations that MATLAB handles, but are able to find your way around a computer keyboard and know your operating system (e.g., Windows, UNIX or MAC-OS). The only other computer-related skill you will need is some very basic text editing.
One of the many things you will like about MATLAB (and that distinguishes it from many other computer programming systems, such as C++ and Java) is that you can use it interactively. This means you type some commands at the special MATLAB prompt and get results immediately. The problems solved in this way can be very simple, like finding a square root, or very complicated, like finding the solution to a system of differential equations. For many technical problems, you enter only one or two commandsā€”MATLAB does most of the work for you.
There are three essential requirements for successful MATLAB applications:
ā–  You must learn the exact rules for writing MATLAB statements and using MATLAB utilities.
ā–  You must know the mathematics associated with the problem you want to solve.
ā–  You must develop a logical plan of attackā€”the algorithmā€”for solving a particular problem.
This chapter is devoted mainly to the first requirement: learning some basic MATLAB rules. Computer programming is a precise science (some would also say an art); you have to enter statements in precisely the right way. There is a saying among computer programmers: Garbage in, garbage out. It means that if you give MATLAB a gar...

Table of contents