Fr. 130.00

Learning to Program With Matlab - Building Gui Tools

English · Paperback / Softback

Shipping usually within 1 to 3 weeks (not available at short notice)

Description

Read more

Informationen zum Autor Craig S. Lent is The Frank M. Freimann Professor of Electrical Engineering at the University of Notre Dame, Indiana, USA. Professor Lent received his bachelor's degree in Physics from the University of California at Berkeley, USA, and his doctorate in Physics from the University of Minnesota, Minneapolis, USA. Professor Lent has been a member of the Notre Dame faculty since 1986. His research is in the area of quantum devices, quantum information theory, and molecular-scale devices. Klappentext Learning to Program with MATLABIntroductory text integrating science, mathematics, and engineering to give a basic understanding of the fundamentals of computer programming with MATLABLearning to Program with MATLAB: Building GUI Tools, Second Edition serves as a compact introduction to computer programming using the MATLAB language, covering elements of both program and graphical user interface (GUI) design to enable readers to create computer programs just like the ones they are accustomed to interacting with. Rather than being encyclopedic in scope, the goal of the text is to describe what users will find most useful and point to other features. Descriptions and examples of some of the most useful functions are included throughout, particularly with regards to engineering and science applications. The work also includes updated videos and problem solutions on an instructor companion website.The first edition of Learning to Program with MATLAB employed the MATLAB graphical user interface design environment (GUIDE) to develop the GUI tools. The second edition is based on the new and improved App Designer program, which has supplanted GUIDE. This edition includes:* Core concepts of computer programming using MATLAB, such as arrays, loops, functions, and basic data structures* How to write your own MATLAB functions, covering topics such as local workspaces, multiple outputs, function files, and other functional forms* The new string class and table class, some new features of function arguments, and re-written sections for building GUI tools with App Designer* Syntax for graphics and App Designer features, plus examples demonstrating the new way to handle string informationStarting with the basics and building up to an emphasis on GUI tools, Learning to Program with MATLAB is a comprehensive introduction to programming in a robust and multipurpose language, making it an ideal classroom resource for both students and instructors in related programs of study. Zusammenfassung Learning to Program with MATLABIntroductory text integrating science, mathematics, and engineering to give a basic understanding of the fundamentals of computer programming with MATLABLearning to Program with MATLAB: Building GUI Tools, Second Edition serves as a compact introduction to computer programming using the MATLAB language, covering elements of both program and graphical user interface (GUI) design to enable readers to create computer programs just like the ones they are accustomed to interacting with. Rather than being encyclopedic in scope, the goal of the text is to describe what users will find most useful and point to other features. Descriptions and examples of some of the most useful functions are included throughout, particularly with regards to engineering and science applications. The work also includes updated videos and problem solutions on an instructor companion website.The first edition of Learning to Program with MATLAB employed the MATLAB graphical user interface design environment (GUIDE) to develop the GUI tools. The second edition is based on the new and improved App Designer program, which has supplanted GUIDE. This edition includes:* Core concepts of computer programming using MATLAB, such as arrays, loops, functions, and basic data structures* How to write your own MATLAB functions, covering topics such as local workspaces, multiple outputs, function fi...

List of contents

Preface to the Second Edition xiii
 
About the Companion Website xvii
 
I MATLAB Programming 1
 
1 Getting Started 3
 
1.1 Running the MATLAB IDE 3
 
Manipulating windows 5
 
1.2 MATLAB variables 5
 
Variable assignment statements 6
 
Variable names 7
 
Variable workspace 8
 
1.3 Numbers and functions 8
 
1.4 Documentation 9
 
1.5 Writing simple MATLAB scripts 10
 
Block structure 11
 
Appropriate variable names 11
 
Useful comments 11
 
Units 11
 
Formatting for clarity 12
 
Basic display command 12
 
1.6 A few words about errors and debugging 12
 
Error messages are your friends 13
 
Sketch a plan on paper first 13
 
Start small and add slowly 13
 
1.7 Using the debugger 13
 
Looking ahead 14
 
Programming Problems 14
 
2 Vectors and Strings 19
 
2.1 Vector basics 20
 
2.2 Operations on vectors 21
 
Multiplication by a scalar 21
 
Addition with a scalar 21
 
Element-by-element operation with two vectors 21
 
Functions of vectors 22
 
Length of vectors 22
 
Subarrays 23
 
Concatenating vectors 23
 
2.3 Special vector functions 23
 
Statistical Functions 24
 
2.4 Using rand and randi 25
 
2.5 String basics 25
 
2.6 String operations 27
 
2.7 Character vectors 29
 
2.8 Getting information from the user 30
 
Looking ahead 31
 
Programming Problems 31
 
3 Plotting 35
 
3.1 The plot command 35
 
Axis scaling 38
 
Plot labeling 39
 
3.2 Tabulating and plotting a simple function 39
 
3.3 Bar graphs and histograms 43
 
Histograms 45
 
3.4 Drawing several plots on one graph 45
 
Multiple plots with a single plot command 46
 
Combining multiple plots with a hold command 48
 
Thickening plotted curves 49
 
3.5 Adding lines and text 50
 
3.6 Changing object properties 52
 
Looking ahead 54
 
Programming Problems 55
 
4 Matrices 57
 
4.1 Entering and manipulating matrices 57
 
Size of a matrix 59
 
Matrix transpose 60
 
4.2 Operations on matrices 60
 
Arithmetic operations with a scalar 60
 
Addition and subtraction of two matrices of the same size 61
 
Functions of matrices 61
 
Matrix multiplication 62
 
The identity matrix 62
 
The inverse of a matrix 63
 
The determinant of a matrix 64
 
Matrix-vector multiplication 64
 
4.3 Solving linear systems: the backslash operator 65
 
Extended example: solving circuit problems 65
 
Wire segments 66
 
Wire junctions 66
 
Voltage sources 66
 
Resistors 67
 
Ground 67
 
4.4 Special matrix functions 71
 
Looking ahead 72
 
Programming Problems 72
 
5 Control Flow Commands 75
 
5.1 Conditional execution: the if statement 75
 
5.2 Logical expressions 79
 
5.3 Logical variables 80
 
5.4 for loops 81
 
Good programming practice 84
 
5.5 while loops 84
 
5.6 Other control flow commands 86
 
Switch-case statement 86
 
Break statement 86
 
Programming Problems 87
 
6 Animation 93
 
6.1 Basic animation 94
 
6.2 Animating function plots 98
 
6.3 Kinematics of motion 101
 
One-dimensional motion: constant speed 101
 
Motion with constant a

Customer reviews

No reviews have been written for this item yet. Write the first review and be helpful to other users when they decide on a purchase.

Write a review

Thumbs up or thumbs down? Write your own review.

For messages to CeDe.ch please use the contact form.

The input fields marked * are obligatory

By submitting this form you agree to our data privacy statement.