• Complain

Sandeep Nagar - Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling

Here you can read online Sandeep Nagar - Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2017, publisher: Apress, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Sandeep Nagar Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling
  • Book:
    Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2017
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Familiarize yourself with MATLAB using this concise, practical tutorial that is focused on writing code to learn concepts. Starting from the basics, this book covers array-based computing, plotting and working with files, numerical computation formalism, and the primary concepts of approximations. Introduction to MATLAB is useful for industry engineers, researchers, and students who are looking for open-source solutions for numerical computation.

In this book you will learn by doing, avoiding technical jargon, which makes the concepts easy to learn. First youll see how to run basic calculations, absorbing technical complexities incrementally as you progress toward advanced topics. Throughout, the language is kept simple to ensure that readers at all levels can grasp the concepts.

What Youll Learn

  • Apply sample code to your engineering or science problems

  • Work with MATLAB arrays, functions, and loops

  • Use MATLABs plotting functions for data visualization

  • Solve numerical computing and computational engineering problems with a MATLAB case study


Who This Book Is For

Engineers, scientists, researchers, and students who are new to MATLAB. Some prior programming experience would be helpful but not required.

Sandeep Nagar: author's other books


Who wrote Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling? Find out the surname, the name of the author of the book and a list of all author's works by series.

Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Sandeep Nagar 2017
Sandeep Nagar Introduction to MATLAB for Engineers and Scientists
1. Introduction to MATLAB
Sandeep Nagar 1
(1)
New York, USA
1.1 Introduction to Numerical Computing
With the advent of computers in the post World War II era, the need to simulate physical problems using this new tool led to the invention of numerical computing. Whereas analytical computation required pen, paper, and the human mind, numerical computation required a calculating device too. Successful implementation of computing devices to solve problems (especially involving repeated tasks) over a large array of data points was observed in many fields of science and engineering. For example, breaking enemys secret codes, simulating nuclear reactions before nuclear explosions, etc. The scope further expanded to civilian purposes , such as designing and simulating waterways, dams, electric power stations, town planning, etc. All of these applications need to use an equation or systems of equation for a physical model representing a physical problem. There are two ways that one can approach these equationsusing analytical and numerical techniques. We concentrate only on the numerical methods of solving equations using MATLAB in this book.
As time progressed, various schemes to define mathematical functions differentiation, integration, trigonometric, etc.were written for digital computers. This involved digitization, which certainly introduces errors. Knowledge of errors and their proper nullification could yield valuable information quicker than analytical results. Thus, it became one of the most actively researched fields of science and continues to be one. The search for faster and more accurate algorithms continues to drive innovation in the field of numerical computing and enables humanity to simulate otherwise impossible tasks.
1.2 Tools for Numerical Computing
As the numerical methods progressed as an alternative to analytical methods, computer programming languages were increasingly being used to codify them for programmed investigations of simulations. A number of options [] exist to perform numerical computation. Programming languages written to handle mathematical functions like FORTRAN, C, Python, Java, and Julia, to name a few, can be used to write algorithms for numerical computation.
1.2.1 The Need for Specialized Software
While all problems can be coded in programming languages, its necessary to change the approach to computing, file management, etc. when the microprocessor platform or operating system changes. This hinders interoperability. Modern programming languages address some of these issues, but the need for specialized software for numerical computingwhere predefined tools of numerical methods can be simply called as and when required and customized tools can be developedwas being felt in academia. A number of attempts were made in this direction.
1.2.2 The History of MATLAB
MATLAB was one such program and it was developed by Cleve Moler [], who was a math professor at the University of New Mexico, teaching numerical analysis and matrix theory. As a PhD student, he initially wrote a lot of code in FORTRAN to solve systems of simultaneous linear equations involving matrix algebra, which ultimately he called MATrixLABoratory (MATLAB). As a professor he wished his students could use the new packages without writing FORTRAN programs .
Hence, in late 1970s, the first version of MATLAB came out (written in FORTRAN). There were 80 functions for performing calculations involving linear algebra problems. Further down the line, Jack Little and Steve Bangert reprogrammed MATLAB in C with additional features for producing a commercial version of the software. Together, all three of them founded The MathWorks [].
Over a period of time, so many tools and features have been added to the base package of MATLAB that, along with this rich set of libraries, the installation requirements run it is many GBs of data. MATLAB became tremendously popular in the scientific community. It is used by more than 5,000 universities worldwide. It is sometimes rightly termed the language of engineering. Cheap availability of digital computing resources propelled its usage in industry and academia to such an extent that virtually every lab needs MATLAB now.
1.3 Installation Requirements
MATLAB should be purchased from the official web site of MathWorks [] installed with the base MATLAB package. This book discusses the usage of the base MATLAB package. Hence, to have a good experience with your MATLAB software, use a laptop or workstation with 1GB RAM and any of operating systems Windows, Linux, or MacOSX. Installation instructions are given with the product. The MATLAB environment is similar on all systems, so you need not worry about this while practicing with the book. This book has been tested for MATLAB R2017a version on the MacOSX 10.12 operating system.
1.4 Workspace
There are two ways to work within MATLAB. The first way is to work at the command line by writing one command at a time. The second method is to write a script (an .m file having a set of commands in a sequence) and run it from the command line by simply typing its name. For example, to run the a.m script file, you simply write the following at the command prompt:
1 >> a
The command prompt is represented by the symbol >> by default. You enter a command at the command prompt and then press the Enter key to execute the command. See Figure .
Figure 1-1 MATLAB in action 141 The REPL Principle The MATLAB command - photo 1
Figure 1-1
MATLAB in action
1.4.1 The REPL Principle
The MATLAB command line works on the principle of REPL , which stands for Read-Evaluates-Prints-Loop. When input is fed into the MATLAB command prompt, the Julia language:
  • Reads what the user types
  • Evaluates what it reads
  • Prints out the return value after evaluation
  • Loops back and does it all over again
All MATLAB commands are treated as expressions to be evaluated at REPL. Many programming environments, such as Pythons interactive shell as well as the Jupyter notebook format, share the same approach. The new language called Julia also has a REPL and works in a similar fashion.
1.4.2 Calculator
In the simplest view, MATLAB works as a calculator with mathematical operators like multiplication ( * ), division ( / ), addition ( + ), subtraction ( - ), and exponentiation ( ^ ):
1 >> 3 + 5
2 ans = 8
3 >> 2 3
4 ans = 1
5 >> 3.0 * 5
6 ans = 15
7 >> 2 / 3
8 ans = 0.6667
9 >> format long
10 >> 2 / 3
11 ans = 0.666666666666667
12 >> format short
13 >> 2 / 3
14 ans = 0.6667
15 >> 2 % 3
16 ans = 2
17 >> 2 ^ 3
18 ans = 8
As seen in the previous example, when a command is fed into the command prompt >> , it is executed and an answer is given by displaying the results in the next line as ans = . To display more decimal digits in the result, you can use the format long command. By default, MATLAB works with the format short command.
1.4.3 Predefined Constants
1 >> pi
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling»

Look at similar books to Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling»

Discussion, reviews of the book Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.