Examples

Piston Motion Figure 1.7-2a shows a piston, connecting rod, and crank for an internal combustion engine. When combustion occurs, it pushes the piston down. This motion causes the connecting rod to turn the crank, which causes the crankshaft to rotate. We want to...

Problems

Answers to problems marked with an asterisk are given at the end of the text. Make sure you know how to start and quit a MATLAB session. Use MATLAB to make the following calculations, using the values: x = 10, Y = 3. Check the results using a calculator. a. u = x + Y...

Summary

You should now be familiar with basic operations in MATLAB. These include Starting and exiting MATLAB, Computing simple mathematical expressions, and Managing variables You should also be familiar with the MATLAB menu and toolbar system. The chapter gives an overview...

Problem-Solving Methodologies

Designing new engineering devices and systems requires a variety of problem solving skills. (This variety is what keeps engineering from becoming boring! When solving a problem, it is important to plan your actions ahead of time. You can ‘waste many hours by...

Programming in MATLAB

MATLAB has relational operators, conditional statements, and loops. Relational operators are used to make comparisons. The conditional statements allow us to write programs that make decisions. A loop is a structure for repeating a calculation a number of times....

The MATLAB Help System

If all the MATLAB documentation were printed, it would fill a volume many times the size of this book. Therefore, it is impossible for us to describe all of the details of MATLAB. This book gives you in-depth coverage of the basic MATLAB language and an overview of...