Respondida
peak width calculation methods
It seems you are interested in the relative height of the spike with its immediate vicinity (not with respect to higher peaks). ...

alrededor de 7 años hace | 0

| aceptada

Respondida
How can I post process the data from a spectrogram?
The first output of SPECTROGRAM found in the Signal Processing Toolbox is an STFT.

alrededor de 7 años hace | 0

Respondida
Picking first arrival of a particular wave in a waveform
I can (sort-of) get a feel when things are changing via AR modeling. Basically a sliding window approach that attempts to compa...

alrededor de 7 años hace | 0

Respondida
I want to derive sinc (0) value through inline or subs function.
sin(a*k)/(b*k) = 1/b * sin(a*k)/k = a/b * sin(a*k)/(a*k) = a/b * sinc(a*k).

alrededor de 7 años hace | 0

Respondida
findpeaks ( 'WidthReference','halfheight' ) not finding width of peak
I think you wanted this instead: findpeaks(sgf,'MinPeakProminence',0.003,'WidthReference','halfheight','Annotate','extents'...

alrededor de 7 años hace | 0

| aceptada

Respondida
is there any method to represent binary number in matlab
Try something like dec2bin(4) or bin2dec('01001')

alrededor de 7 años hace | 1

Respondida
why the conv(u,v,'same') choose the a vector a little right deviated to center position
If b is of odd length, you will obtain what you expect. For even length it will move to the next available point having the...

alrededor de 7 años hace | 1

| aceptada

Respondida
Trimming a curve - how to find nearest number and replace
Try: myLimit = -0.15; iFirst = find(y<myLimit, 1, 'first'); iLast = find(y<myLimit, 1, 'last'); xdesired = x(i...

alrededor de 7 años hace | 0

| aceptada

Respondida
How to do time warping in Matlab?
If you have the Signal Processing Toolbox, try <https://www.mathworks.com/help/signal/ref/dtw.html DTW>.

alrededor de 7 años hace | 0

| aceptada

Respondida
what to do to run dsp.SpectrumAnalyzer?
You might not have the DSP System Toolbox installed. Try using pwelch() or periodogram()

alrededor de 7 años hace | 0

| aceptada

Respondida
How to calculate frequency dispersion around median frequency in power spectral density ?
Try <https://www.mathworks.com/help/signal/ref/obw.html Occupied Bandwidth (OBW)>. Have a look at the frequency range (FREQRA...

alrededor de 7 años hace | 0

Respondida
Can anyone explain how MinPeakProminence works in findpeaks?
See the <https://www.mathworks.com/help/signal/ref/findpeaks.html#buff2uu More About> section on the MathWorks' documentation si...

alrededor de 7 años hace | 1

Respondida
create an envelop for one oscillating curve
If you have the Signal Processing Toolbox, try ENVELOPE.

alrededor de 7 años hace | 0

Respondida
How to "smear" a logical mask without looping
If you have a recent copy (R2016a) try: a2 = movmax(a, [n 0]);

alrededor de 7 años hace | 3

| aceptada

Respondida
Why my spectrogram looks so bad? (white lines)
I've heard sometimes updating NVidia drivers help or maybe using the -softwareopengl switch when starting MATLAB. But if all yo...

alrededor de 7 años hace | 0

Respondida
finding accurate number of peaks and eleminate unwanted peaks
Try: findpeaks(sgf,'MinPeakProminence',1.2);

alrededor de 7 años hace | 0

Respondida
convert array in a struct
You didn't give us the fieldnames you wanted. So I'm going to guess you want them as 'thing1', 'thing2', 'thing3', etc. and ass...

alrededor de 7 años hace | 1

| aceptada

Respondida
Identify missing section's boundaries in an index
Do you just want all the elements less than -0.06? Then data_v(data_v < -0.06) should give you want you want. If y...

alrededor de 7 años hace | 0

Respondida
Keep new array from overwriting in loop
You can try this: if az>=(avgcdt-75) | az<=(avgcdt+75) inflowsoundings{end+1}=inputfilename; end

alrededor de 7 años hace | 0

Respondida
How to get the time frequency plot using autoregrssive model?
If you have the Signal Processing Toolbox, try PYULEAR, PBURG, PCOV, PMCOV. Those will give you a periodogram for a given time ...

alrededor de 7 años hace | 0

| aceptada

Respondida
Flipping y-axis of findpeaks-plot
I think <https://www.mathworks.com/matlabcentral/profile/authors/99682-star-strider Star Strider's> answer is the right approach...

alrededor de 7 años hace | 0

Respondida
What start time is assumed in Matlab's resample function?
All except for the datetime object variant (where the first sample datetime is copied to the output).

alrededor de 7 años hace | 0

| aceptada

Respondida
ENBW documentation is ambiguous/incorrect.
Looks like this is fixed now.

alrededor de 7 años hace | 0

| aceptada

Respondida
is there a way to only pull out flat peaks of a certain length using the findpeaks function?
When you say "flat" do you mean _ruler_ flat? (i.e. all the same identical value?) If so, you can try something like this: ...

alrededor de 7 años hace | 1

Respondida
Why is filtic/arburg not working how I intend it to?
You'll want to flip the order of the samples in your call to filtic. See: http://ant-s4.unibw-hamburg.de/dafx/papers/DAFX02_...

alrededor de 7 años hace | 2

| aceptada

Respondida
code for getting AR coefficients from sample signal data?
There are a few in the Signal Processing Toolbox. Try <http://www.mathworks.com/help/signal/ref/aryule.html aryule> or <http:...

alrededor de 7 años hace | 0

Respondida
How to find the corner points at a plateau
If you like FINDPEAKS' behavior, you can reverse your signal to get the other index. iytemp = findpeaks(y(end:-1:1), ...) ...

alrededor de 7 años hace | 0

Respondida
Count curves on Matlab plot with specific name
You can try hFigure = findall(0,'type','figure','name','Simulation') That should give you the handle to all figures with ...

alrededor de 7 años hace | 1

| aceptada

Respondida
Calculating Settling time in Matlab, different from stepinfo
Are you analyzing a step or a series of steps? Try settlingtime() if you have the Signal Processing Toolbox. That defines th...

más de 7 años hace | 0

Cargar más