Chapter 4: Programming with MATLAB - FET
Chapter 4: Programming with MATLAB - FET Chapter 4: Programming with MATLAB - FET
The Problem solving Process 4-5 Z.R.K
Effective documentation can be accomplished with the use of 1. Proper selection of variable names to reflect the quantities they represent. 2. Use of comments within the program. 3. Use of structure charts. 4. Use of flowcharts. 5. A verbal description of the program, often in pseudo-code. (in which natural language and mathematical expressions are used to construct statements that look like computer statements but without detailed syntax). 4-6 Z.R.K
- Page 1 and 2: UNIVERSITY OF JORDAN Faculty of Eng
- Page 3 and 4: 4-3 Components of an Algorithm •
- Page 5: 4-5 Steps for developing a computer
- Page 9 and 10: Flowcharts are useful for developin
- Page 11 and 12: To locate a runtime errors, try the
- Page 13 and 14: Order of precedence for operator ty
- Page 15 and 16: Logical function ischar(A) isempty(
- Page 17 and 18: The if and else Statement The if st
- Page 19 and 20: Instead, consider what happens if w
- Page 21 and 22: For example, suppose that y = ln(x)
- Page 23 and 24: 4-22 Strings and the input Statemen
- Page 25 and 26: for Loops A simple example of a for
- Page 27 and 28: The continue Statement The followin
- Page 29 and 30: while Loops The while loop is used
- Page 31 and 32: 4-30 A simple example of a while lo
- Page 33 and 34: The switch Structure The switch str
- Page 35 and 36: The Editor/Debugger containing two
- Page 37: End of Chapter 4 Problems Page 241
Effective documentation can be<br />
accomplished <strong>with</strong> the use of<br />
1. Proper selection of variable names to<br />
reflect the quantities they represent.<br />
2. Use of comments <strong>with</strong>in the program.<br />
3. Use of structure charts.<br />
4. Use of flowcharts.<br />
5. A verbal description of the program,<br />
often in pseudo-code. (in which natural<br />
language and mathematical expressions are<br />
used to construct statements that look like<br />
computer statements but <strong>with</strong>out detailed<br />
syntax).<br />
4-6<br />
Z.R.K