Home
Flashcards
Preview
Matlab 2
Home
Get App
Take Quiz
Create
&
Logic AND
&&
Logic AND with/share circuit evaluation
|
Logic OR
||
Logical OR w/short circuit evaluation
xor()
Logical exclusive OR
~
Logical NOT
Starting with the highest level task and breaking it down into sub-tasks (sub system)
Top-Down Design Approach (this is not a flow chart)
Thoroughly testing each component (sub task) individually
Unit Testing
Step by step procedure for solving a problem
algorithm
what statement can do anything what can do, but not necessarily better
what - if
what - switch
switch excels at what
what - menus
errors in a program
buggs
process of removing errors from a program
debugging
violations of a programming languages' grammar rules; detected by interpreter before run time
Syntax Error
Case sensitive or mistype error
Typographical
When a program executes "successfully" but produces incorrect results
Logical Errors
Mistakes not flagged by interpreter that crash the program during execution.
like illegal math operations
divide by zero
Runtime Errors
Enable statements to execute more than once
loops
uncontrollable loops
for loop
executing loops a certain number of times
for loop
use when number of loop iteration is unknown in advance length (arr)
while
immediately ends the current loop, then the program execution continues from the end of the loop
break
returns date information as a string
date
returns six element array
clock
starts timer or resets it
tic
will show elapsed time
toc
starting number that dictates the pseurandom number sequence produced
seed
numerical analysis approach to computation that uses random sampling to solve problems
Monte Carlo method
the process of replacing loops w/array opperations
vectorization
a logical array that selects he elements of another array for use in an operation
Mask
examines code between execution
looks for code that may execute more than once
Just-in-time (JIT) Compiler
Translating to machine code before run-time
precompile
Values passed calling invoking a function
actual arguments
values returned by a function when it ends
return values
is used by looking for function
H1 comment line
when a function is called, only the actual value is passed to the function.
passing-by-value
the part of the code where a variable can be referenced
scope
viewing an object (function) in terms of its input and output characteristics
Black Box
If you want to retain/preserve a variable between function cells
Persistent Memory
breaking you search method in half
divide and conquer
Author
Rayna
ID
353557
Card Set
Matlab 2
Description
Embry-Riddle Matlab terms for Dr. Schipper's Egr 115 class
Updated
2020-10-26T17:47:35Z
Show Answers
Home
Flashcards
Preview