Shared Flashcard Set

Details

Test 2 coverage 1
Chap 4
11
Computer Science
Undergraduate 1
03/06/2011

Additional Computer Science Flashcards

 


 

Cards

Term
if
Definition
if logical index
commands
end
Term
elseif
Definition
elseif (alt) logical index
commands
end
Term
else
Definition
else no index (catch all)
commands
end
Term
switch
Definition
switch 'char' or 'double' or variable
case cell array of 'char' or 'double' to check against
commands
end
Term
otherwise
Definition
catch all for switch statements
Term
for
Definition
loop function
for logical index
commands
end
Term
while
Definition
loop function
n = start #
while n <(=) end #
commands
n = n + step size
end
Term
break
Definition
breaks loop at any point
Term
continue
Definition
skips to the end of a loop command before restarting loop.
Term
all(a)
Definition
true if all of the contents of logical vector a are true
Term
any(a)
Definition
true if any of the elements of logical vector a are true
Supporting users have an ad free experience!