MatLab Flashcards

1
Q

What is the sampling rate?

A

How many samples are taken each second.

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

What is put in the parentheses after a function?

A

An input argument.

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

What is put in the parentheses after a variable?

A

Data/indices.

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

What symbol allows you to make a comment?

A

%%

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

What does fs stand for?

A

Sampling grade.

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

What does hold do?

A

Allows data to be put on top of other data/retains current plot when adding new plots.

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

What does the time domain represent?

A

The frequency of things happening in time.

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

What does the frequency domain represent?

A

The size of oscillations.

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

What does the FFT measure?

A

How many waves are present in one second.

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

What does linspace do?

A

Generates a linearly spaced vector.

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

What does length return?

A

Length of the largest array dimension.

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

What is the syntax for linspace?

A

y = linspace (x1,x2)
y = linspace(x1,x2,n)

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

What is the syntax for length?

A

L = length(X)

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

What does pspectrum do?

A

Analyses signals in the frequency and time-frequency domains.

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

What is the syntax for pspectrum?

A

p = pspectrum(x)
p = pspectrum(x,fs)

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

What is the syntax for hold?

17
Q

What does ginput do?

A

Identifies axes coordinates.

18
Q

What is the syntax for ginput?

A

[x,y] = ginput(n)
[x,y] = ginput
[x,y,button] = ginput( )

19
Q

What does [x,y] = ginput(n) return?

A

Allows you to identify the coordinates of n points within Cartesian, polar or geographic axes.

20
Q

What does mean return?

A

Average or mean value of array.

21
Q

What is the syntax for mean?

A

M = mean(A)