Preface The essence Th This document is intended to be a compilation of tips and tricks mainly related to efficient ways of manipulating arrays in MATLAB. Here, \manipulating arrays\includes replicating and rotating arrays or parts of arrays, inserting, extracting replacing, permuting and shifting arrays or parts of arrays, generating combinations and permutations of elements, run-length encoding and decoding
Chapter 1 ntroduction to matlaB This book is an introduction to two subjects: MATLAB and numerical computing This first chapter introduces MATLAB by presenting several programs that inves tigate elementary, but interesting, mathematical problems. If you already have some experience programming in another language, we hope that you can see how MATLAB works by simply studying these programs