MATLABÂź by Example
eBook - ePub

MATLABÂź by Example

Programming Basics

Munther Gdeisat,Francis Lilley

Partager le livre
  1. 366 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

MATLABÂź by Example

Programming Basics

Munther Gdeisat,Francis Lilley

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

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

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que MATLABŸ by Example est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  MATLABÂź by Example par Munther Gdeisat,Francis Lilley en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatica et Bioinformatica. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Éditeur
Elsevier
Année
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...

Table des matiĂšres