Sie sind auf Seite 1von 8

Mistake # Page Situation

Comparison operators: not equal


1 18
is not correct

description of the 5th type of


2 5
exercise problem
the arrow from the keyboard and
5 12 mouse to Matlab should be the
other way

7 30 First 'try it,'

8 28

9 17 under the fourth "Try it"

10 12

11 12

12 27 first tip

13 34-35 sprintf function

second TRY IT!, word 'row' is


14 29
missing

the first sentence of the third


15 32
paragraph

16 31 fist paragraph

17 33 under the last TRY IT!

18 37 WARNING!

19 37 TRY IT!

20 12 beginning of page 12

21 32 Q = M.^P
22 33 last sentence WARNING

introductory paragraph about


23 35
struct arrays

the paragraph above the last "Try


24 36
It"

the paragraph above the last "Try


25 36
It"

26 35 under "2.4 Struct Arrays" section

27 17 page 17 first line

28 23 last sentence of 2nd paragraph

29 23 1st line 5th paragraph

fourth segment that starts with


30 32
"All of MATLAB's

starting with "You can reassign a


31 30
value...using array indexing

32 23
Variables and assignment paragraph

33 30 The first Try it

34
43 the second paragraph

35 11 What is Matlab 2nd paragraph

36 61

37 62 1st paragraph

38 53 TRY IT!

39 53 last sentence last paragraph


40 16 First 'try it,'

41 33 First 'try it,'

42 33 what is happening, point 3 and 4

43 55 last paragraph, after %%

44 50 2nd text paragraph

45 41 Pb 10

46 79 Pb 5

47 82 F = myRecFactorial

48 87 first paragraph after drawing

49 127 TRY IT!

50 21 Pb 14

51 40 functions and operations bank:

52 60 problem 11

53 48 bottom

54 36 First TRY IT

55 55 TRY IT!

Summary of Functions and


56 140
Operations

Summary of Functions and


57 140
Operations
58 31 second TRY IT!

59 69 Problem 3

60 129 TRY IT!

61 129 Table 11.1.

62 141 Figure Title

63 107 First TRY IT!

64 107 Second TRY IT!

65 108 First TRY IT!

66 99 Second paragraph

67 67 Top of the page

68 137 Second paragraph

69 61 First paragraph

70 64 TIP!
Erroneous Text Corrected Text

= ~=

program programming

the first entry in the matrix is


missing in the problem
A = [1 2 3 4 5 6]
description and in the first
example in the code
can be combined to up can be combined to build up
complicated arrays complicated arrays

1 x 10-3 1 x 10-3

displays the results the monitor displays the results ON the


or other output devices monitor or other output devices

It is has its own set of words and


no is
rules

Seeing a bracket can be read A bracket can be read as

s1 = sprintf('My name is \%s', s1 = sprintf('My name is %s',


'Timmy') 'Timmy')

Retrieve the elements in the 1st Retrieve the elements in the 1st
and the 1st and 3rd column row and the 1st and 3rd column
All MATLAB's built-in arithmetic
functions such as sin an take take arrays
arrays as input arguments

M-P P-M

double array string

avoiding avoid

1x3
which then struct array
translates the solution which then1x4 struct array
translates the solution
back into something a human back into something a human
can understand and displays the can understand and displays the
results the monitor or other results [to] the monitor or other
output devices output devices
[3 16 243 4096] [1 16 243 4096]
avoided avoid
However, be defined by a name,
personal ID number, However,
? (however)
each person may be difficult to
define by only one char or double
The values contained in the fields
of a struct arrays retain their fields of struct arrays
original data type

Therefore, we can using array... use

is defined are defines

there is a half parenthesis

have has

name, student ID names, student ID

an can

assigned is a same assigned are the same

computers memory computer's memory

the the the

When you developing your own portfolio you are

the job of interpreter the job of an interpreter

4.1 If-ElseIf-Else Statements 4.1 If-Else Statements

MATLAB will not check the rest


of the statements once IN it
reaches a true statemen

D=myDistXYX([0 0],[0 1],[1 1]) D=myDistXYZ([0 0],[0 1],[1 1])

@ missing
exp(log(10)) = 10 exp(log(10)) = e

W = char C = char

first variable name in input arg


second,third
list

missing point

Although it may seems Although it may seem

num2str str2num

m,p x matrix m x p matrix

F = myRecFactorial(3) F = myRecFactorial(4)

(2^6)4 -1 2^(64) - 1

X=[012345] X = [ 0 1 2 3 4 5] same for y

(4k!) * ( 1103 + 26390k ) (4k)! * (1103 + 26390k)

lower and upper appear twice

Hi, my name is _____, and I am Hi, my name is _____ and I am


_____ years old _____ years old

C = sin(b) + cos(a) B = sin(b) + cos(a)

20912834' 20912834'

Write a script file computes Write a script file that computes

polarplot polar

stemplot stem
Q = [ 0.3333 0.5 ; 0.6 0.6666 ] Q = [ 0.3333 0.5 ; 0.6 0.6667 ]

[S] = myInsideTriangle(x, [S] = myInsideTriangle(x,y)

plot(x,x.^2,'g….') plot(x,x.^2,'g--')

_ dashed -- dashed

Polygone Polygon

The representation of the floating


point number for the fraction 1*(1/2^1) + 0*(1/2^2) + ....
states: 1*(1/2^1) + 0*(1/2^0) + ....

130 (base 10) = 10000011 130 (base 10) = 10000010


The largest gap will be the
The largest gap will be the
distance
distance
between the second largest
between the largest number
number
and the second largest number
and the largest number
Similar substitution as before Similar substitution as before
gets you to N' = 2 N. gets you to N' = 2^(1/c) N.
There is a…, and it There is a…, and it is
unreasonable to expect that unreasonable to expect that
your function will catch them your function will catch them
all. all.
Also, MATLAB's visualization Also, MATLAB's visualization
toolbox advanced toolbox is advanced

These branching statement These branching statements

You can indent everything You can indent everything


propably properly

Das könnte Ihnen auch gefallen