chapter 12 Flashcards

1
Q

rectangular data grids

A

regularly spaced rectangular data set where values are coordinates, element number as x val and value as y val

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

mesh grid format

A

elements in each column of 2D x-array are all identical and elements in each row in 2D y-array are identical

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

[xmesh, ymesh] = meshgrid(xVals, yVals)

A

replicated 1D array xvals and ovals to make data grid with output coordinate arrays

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

[xndGrid, yndGrid] = ndgrid(xVals, yVals)

A

replicates 1D arrays, ovals and y vals, to make data grid and transpose values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

dimensions of a grid

A

length(xVals) x length(yVals)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

surf(x, y, z)

A

makes surface plot
(z = color data, x & y are 1D/2D arrays for coordinates)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

surfc(x, y, z)

A

makes surface plot with contour lines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

mesh(x, y, z)

A

wire frame mesh

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

meshc(x, y, z)

A

plots mesh with contour

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

meshz(x,y,z)

A

plots curtain around mesh

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

waterfall(x, y, z)

A

draws mesh similar to mesh but no lines from columns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

surfl(x, y,z)

A

plots surface plot with color map based on lighting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

shading(x, y, z)

A

sets color shading properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

triplot(x, y, z)

A

triangle plot

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

trimes(x, y, z)

A

triangle as mesh

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

trisurf(x, y, z)

A

triangle as surface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

true or false, the size of a plot can change between iterations

A

false

18
Q

hold on;

A

displays additional points

19
Q

anonymous function

A

custom function defined directly in workspace and not stored in separate program

20
Q

anonymous function example

A

myFct = @(x)x+14

@ creates function handle
x is input
x + 14 is statement executed by function

21
Q

recursive function

A

function that calls itself using branches in computing

22
Q

symbolic variables

A

represent unknown numeric var like x

23
Q

create sym vars

A

sym(‘x’) or syms x

24
Q

sym(num, flag)

A

converts num to output specified by flag (num of floating)

25
Q

sym(‘A’, [3 4])

A

creates symbolc matrix, values are listed as A3_2 for 3rd row 2nd column

26
Q

subs(s, old, new)

A

performs symbolic substitute and returns copt of s replacing all occurrences o old with new

27
Q

symvar

A

used to see which derivative will be taken by default

28
Q

formulas(f)

A

returns expressions defining symbolic function f

29
Q

symfun(formula, inputs)

A

returns symbolic function using inputs as x

30
Q

COMPOSE

A

function composition f(g(y))

31
Q

pretty(s)

A

prints symbolic expression in typeset form

32
Q

interpolation

A

estimates function values when only a few points are known, a line that goes through all points

33
Q

interpolating polynomial

A

of degree (n-1), goes through all n points

34
Q

piece wise linear interpolation

A

draws many small lines that connect every consecutive point, each measured data point is a endpoint of line

35
Q

third order polynomial

A

captures functional Vals and first/second order derivatives continuous at data points

36
Q

curve fitting

A

finds f(x) that best fits experimental data set, does not have to go though all points

37
Q

residual error

A

error between f(xk) and measured fk, cab ve positive or negative

38
Q

least squares reffression

A

finds best fit using residual error

39
Q

linear regression fit

A

seats functional relationship that is linear in terms of parameters

40
Q

nonlinear regression fit

A

seeks functional relationship that is nonlinear in terms of fitting constants like e

41
Q
A