O'Reilly logo

Essential MATLAB for Engineers and Scientists, 6th Edition by Daniel T. Valentine, Brian Hahn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2

MATLAB Fundamentals

Abstract

The objective of this chapter is to introduce some of the fundamentals of MATLAB programming, including variables, operators, expressions, arrays (including vectors and matrices), basic input and output, repetition (via the for loop construct), and decisions (via the if-else-end construct). The tools introduced in this chapter are sufficient to begin solving numerous scientific and engineering problems you may encounter in your course work and in your profession. The last part of this chapter introduces an approach to designing reasonably good programs that help you build technical computing tools for your own toolbox.

Keywords

Arrays; Input/output; Repetitive calculations (loops) and decisions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required