Ch5: Logical Vectors
You can obtain you own copy of the codes from Chapter 5 Logical Vectors by
mkdir ch5
cd ch5
cp ~stewart/cs205/ch5-logicalVectors/* .
[don't forget the dot (.) at the end]
ls
NOTE: you could also use the shortcut
cp ~stewart/cs205/ch5*/* . (using the wild-card * matching)
-
fig5_1 Discontiguous graph using logical vectors
-
fig 5.2 sin(x) with the 0/0 accomodated
-
fig 5.3 Variations on tan(x)
-
5.5 Logical vectors instead of elseif ladders
-
income tax the old-fashioned way
-
income tax the logical way
-