Study your flashcards anywhere!
Download the official Cram app for free >
 Shuffle
Toggle OnToggle Off
 Alphabetize
Toggle OnToggle Off
 Front First
Toggle OnToggle Off
 Both Sides
Toggle OnToggle Off
 Read
Toggle OnToggle Off
How to study your flashcards.
Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key
Up/Down arrow keys: Flip the card between the front and back.down keyup key
H key: Show hint (3rd side).h key
A key: Read text to speech.a key
61 Cards in this Set
 Front
 Back
public egr student drive

K:


Private egr student drive

W:


Equation editor in word

square root with fish


To read values from a text file into a matrix in Matlab

Matrix=readprn("filename")


Short cuts in Mathcad:
Matrix Integral deriv 
CtrlM
shift& shift? 

Program extensions:
Word: Autocad: Excel: Mathcad: Matlab: Notepad: SolidWorks: 
.doc
.dwg .xls .mcd .m .txt 

TF You dont have to assign a variable to a procedure in matlab

T


What color is quoted text?

purple


Is one number considered an array in Matlab

Yes


what character supresses out put in Matlab

semicolon


in this expression x=(:,1) what does the : mean?

It means take all the rows but only the first column


How is pi called in:
Matlab: Mathcad: Excel 
Matlab: pi
Mathcad: ctrlshift p Excel pi() 

What command do you use to go to a cell in Excel?

cntrl g


For a range variable in Mathcad what does the second number represent?

It represents the second number in the sequence not the NOT the increment


What letter does the hexidecimal system go up to?

F


In excel what is the name of the bar in which the formula is typed

formula bar


What is a radix?

The base of a number system
Ex:binary, decimal, octal, hemidecimal 

what is wrong with this statement in matlab:
lab04=fopen('loab04.out') 
it is missin 'w' or 'a'


What do these symbols mean in matlab
== , and ~= 
== means equal to
~= not equal to 

symbols for not and and or

not: ~
and: & or:  

Define
~ (NOT) 
reverses value of logical quantity following the not operator


Example: ~(2.3>=5.0)
True or False 
True(1)


If either side of  is true then

the whole thing is true


what is an example of an accumulator? (Lec12slide16)

c=c+1


What is a running sum initialized to?

0


What is a running product intitialized to in matlab?

1


True or False:
Two program lines are needed to switch the value of two variables (Lec16slide17) 
False three are needed one has to be a temporary storage bin


What do each of these do in Matlab
\b \f \n \t \" 
\b backspace
\f formfeed \n new line \t horizontal tab \" inserts a double quote 

What do these mean in Matlab:
'w' 'wt' 'a' 'r' 
'w' or 'wt' opens a file for writing
(Existing files will be overwritten.) 'a' appends to existing file, opens for writing at EOF 'r' opens for readonly 

What function in Matlab do you use to scan a script for a certain phrase or value

fscanf


closes a file previously opened

fclose


list three examples of Matlab control structures

if while for


does excel have a while loop built in?

NO


What formula would you use to determine the number of loop iterations

floor[(finalinitial)/increment]+1


This command transfers to end of control structure.
If within a loop, it skips all remaining iterations 
break


This command transfers to beginning of control structure.
If within a loop, it terminates current iteration only 
continue


True of False
Matlab cannot find the median of an unsorted array 
true


True/False:
A new function has to be created in the same folder that the mscript is that calls the new function 
False it is just a recomendation because it is easier


True/False:
The new mscript file name and function name must be identical (for example, wow.m). 
True


What is another name for a library function?

An intrinsic function


What is a new function called

A programmer defined function


What built in function will return the area under a curve in Matlab

quad('function',a,b)


Know the difference between Analytic and Symbolic integration

Analytic returns a value
Symbolic returns a statement of equality 

What type of chart is associated with a bell curve?

Histogram


In Excel what are the functions for sample and population standard deviation?

sample: stdev
pop: stdevp 

In Mathcad what are the functions for sample and population standard deviation?

sample: Stdev
pop: stdev 

In Matlab what are the functions for sample and population standard deviation?

sample: std(X,0)
pop: std(X,1) 

If no numbers in an array repeat do any of the three programs say there is a mode?

Matlab returns the smallest number the other two say no value


If an array is multimodal how does each program respond?

Excel returns the highest number. Mathcad returns 'multimodal'. Matlab returns the lowest number.


what does empirical mean?

originating in, or based on, observation (empirical data)


what does interpolate mean?

To estimate a value of a function or series
between two known values. 

what does exterpolate mean?

To estimate a value of a variable outside a known
range from values within a known range, by assuming that the estimated value follows logically from the known values. 

What is linear modeling?

A procedure to determine the linear equation
that best fits a set of data points. 

Describe a Linear graph:

y=mx+b
XY graph 

Describe a Power graph:

ln y=m ln x+ln b
LogXLogY graph 

Describe a exponential graph:

ln y = mx+ln b
SemiLogY graph 

Describe a logrithmic graph:

y = m lnx + b
SemiLogX graph 

To get the best fit curve what number does R need to be closest to?

1


What command (in Matlab) do you use to find the roots of a polynomial?
What command do you use to find the coeffecient of the roots? 
roots
poly 

What is the result of a Dot Product?

A single value.


What is the result of a Cross product?

A vector
