MatLab Flashcards
What is the sampling rate?
How many samples are taken each second.
What is put in the parentheses after a function?
An input argument.
What is put in the parentheses after a variable?
Data/indices.
What symbol allows you to make a comment?
%%
What does fs stand for?
Sampling grade.
What does hold do?
Allows data to be put on top of other data/retains current plot when adding new plots.
What does the time domain represent?
The frequency of things happening in time.
What does the frequency domain represent?
The size of oscillations.
What does the FFT measure?
How many waves are present in one second.
What does linspace do?
Generates a linearly spaced vector.
What does length return?
Length of the largest array dimension.
What is the syntax for linspace?
y = linspace (x1,x2)
y = linspace(x1,x2,n)
What is the syntax for length?
L = length(X)
What does pspectrum do?
Analyses signals in the frequency and time-frequency domains.
What is the syntax for pspectrum?
p = pspectrum(x)
p = pspectrum(x,fs)
What is the syntax for hold?
Hold on.
What does ginput do?
Identifies axes coordinates.
What is the syntax for ginput?
[x,y] = ginput(n)
[x,y] = ginput
[x,y,button] = ginput( )
What does [x,y] = ginput(n) return?
Allows you to identify the coordinates of n points within Cartesian, polar or geographic axes.
What does mean return?
Average or mean value of array.
What is the syntax for mean?
M = mean(A)