Experiments with MATLAB

Experiments with MATLAB

Cleve Moler October 4, 2011

ii

Copyright 2011 Cleve Moler

Electronic edition published by MathWorks, Inc.

Contents

Preface

iii

1 Iteration

1

2 Fibonacci Numbers

17

3 Calendars and Clocks

33

4 Matrices

45

5 Linear Equations

63

6 Fractal Fern

75

7 Google PageRank

83

8 Exponential Function

97

9 T Puzzle

113

10 Magic Squares

123

11 TicTacToe Magic

141

12 Game of Life

151

13 Mandelbrot Set

163

14 Sudoku

183

15 Ordinary Differential Equations

199

16 Predator-Prey Model

213

17 Orbits

221

18 Shallow Water Equations

241

iii

iv 19 Morse Code 20 Music

Contents 247 263

Experiments with MATLABR

Cleve Moler

Copyright c 2011 Cleve Moler. All rights reserved. No part of this e-book may be reproduced, stored, or transmitted in any manner without the written permission of the author. For more information, contact moler@. The programs described in this e-book have been included for their instructional value. These programs have been tested with care but are not guaranteed for any particular purpose. The author does not offer any warranties or representations, nor does he accept any liabilities with respect to the use of the programs. These programs should not be relied on as the sole basis to solve a problem whose incorrect solution could result in injury to person or property. MatlabR is a registered trademark of MathWorks, Inc.TM. For more information about relevant MathWorks policies, see:



October 4, 2011

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download