MATLAB® by Example
eBook - ePub

MATLAB® by Example

Programming Basics

Munther Gdeisat,Francis Lilley

Buch teilen
  1. 366 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

MATLAB® by Example

Programming Basics

Munther Gdeisat,Francis Lilley

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

MATLAB By Example guides the reader through each step of writing MATLAB programs. The book assumes no previous programming experience on the part of the reader, and uses multiple examples in clear language to introduce concepts and practical tools. Straightforward and detailed instructions allow beginners to learn and develop their MATLAB skills quickly.

The book consists of ten chapters, discussing in detail the integrated development environment (IDE), scalars, vectors, arrays, adopting structured programming style using functions and recursive functions, control flow, debugging, profiling, and structures. A chapter also describes Symbolic Math Toolbox, teaching readers how to solve algebraic equations, differentiation, integration, differential equations, and Laplace and Fourier transforms. Containing hundreds of examples illustrated using screen shots, hundreds of exercises, and three projects, this book can be used to complement coursework or as a self-study book, and can be used as a textbook in universities, colleges and high schools.

  • No programming experience necessary to learn MATLAB
  • Examples with screenshots and plentiful exercises throughout help make MATLAB easy to understand
  • Projects enable readers to write long MATLAB programs, and take the first step toward being a professional MATLAB programmer

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist MATLAB® by Example als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu MATLAB® by Example von Munther Gdeisat,Francis Lilley im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Informatica & Bioinformatica. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Verlag
Elsevier
Jahr
2012
ISBN
9780124058538
1
Matlab Integrated Development Environment
Chapter Outline
Lesson 1.1 Basics of the Matlab Integrated Development Environment
Lesson 1.2 Matlab Script Files
Lesson 1.3 Matlab Editor—Cell Mode
Answers to Selected Exercises

Lesson 1.1 Basics of the Matlab Integrated Development Environment

Objectives
To familiarize beginners in Matlab with its programming environment.
To learn how to use Matlab to execute simple commands, create variables, and display their values.
Topics
1.1.1 Matlab Integrated Development Environment
1.1.2 Creating Scalar Variables
1.1.3 Creating Vector Variables
1.1.4 Creating Array Variables

1.1.1 Matlab Integrated Development Environment

Matlab version 7.12 (R2011a) is used here to explain the integrated development environment (IDE). Even though this specific version of Matlab has been used here, other Matlab versions can still be used to follow the discussions presented in this book if you do not have this exact version.
First launch Matlab. When MATLAB opens you should see four windows: the Command Window, the Command History, the Workspace, and the Current Folder. If you do not see these windows, you can direct Matlab to display them by going to the Menu→Desktop and then click the window you would like to display, so that it has a tick
image
next to it. For example, if you would like to display the Command Window, go to Menu→Desktop and then click the Command Window.
image
In addition to your ability to display the required windows, you can arrange them in any way you prefer. This can be achieved by clicking the title bar of any window, dragging it, and placing it in the required location within the Matlab main window.
Exercise 11
Display the four windows and arrange them as shown. Remember, the four windows are the Command Window, the Command History, the Workspace, and the Current Folder.
image

The superscript after the exercise number denotes the exercise difficulty level: 1 being basic, 2 intermediate, and 3 being an advanced task.
The Command Prompt>>” is displayed in the Command Window. When the Command Window is active, a blinking cursor appears to the right of the prompt. The cursor and the prompt signify that Matlab is ready to perform a computational operation.
The Workspace lists all the variables that you have created so far and their values. Other information is also displayed here, such as the maximum and minimum values of any variables that are created.
The Command History records all of the commands that you have previously typed at the Command Prompt. You can select one of these commands using the mouse and execute it in the Command Window by double-clicking it from within the Command History window.
Current Folder: You can direct Matlab to set up a folder of your choice to be a current folder. This will then be your working folder, where you can save yo...

Inhaltsverzeichnis