Quiz 1 Review Flashcards

1
Q

You can use the _____ function to import tabular data from a spreadsheet or text file and store the result as a table.

A

readtable

Ex. data = readtable(“myfile.xlsx”);

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

You can use ______ notation to refer to any individual variable within a table.

A

dot

Ex. x = mytable.Xdata;
y = mytable.Ydata;

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

T/F: The default axis limits distort the aspect ratio of the letter.

A

T

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

You can use the ____ command to force the axes to preserve the aspect ratio of the data.

A

axis

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

You can correct the aspect ratio of a ploy by using the ____ command

A

axis equal

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

You can execute your script by clicking the _____ or ______ buttons in the MATLAB® Toolstrip.

A

Run

Run Section

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

You can index into variables in a table by using ____.

A

dot notation and parentheses.

finalX = data.XVal(end);

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

To learn more information about a task (open’s up MATLABs manual) use command ____.

A

doc

i.e. doc + function name
- doc readtable
- doc plot
- doc scatter

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

T/F: To normalize data, you need to work with data that has no units

A

T

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

A ______ is simply a value calculated from the signal, such as its duration.

A

feature

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

The ______ function returns the range of values in an array. That is, range(x) is equivalent to max(x) - min(x).

A

range

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

You can use _______ notation to extract, modify, and reassign variables in a table, just as you would with any variable.

A

dot

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

You can index into variables in a table by using ___ notation and parentheses.

A

dot

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

a ____ is simply a value calculated from the signal, such as its duration.

A

feature

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

scatter

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

gscatter

A
17
Q

predict

A
18
Q

to use fitkinn function we need

A
  • table data
  • response variable name (name of the variable from table header)
19
Q

supervised classification model

A
  • Give specific instruction to the model
  • Give complete information to the model
20
Q

unsupervised classification model

A
  • Dump a bunch of data and tell it do themselves
  • Give a cluster of data and see if it can come up with 2 or three clusters of data