Answered
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). ...

5 years ago | 0

| accepted

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

5 years ago | 0

Answered
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...

5 years ago | 0

Answered
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).

5 years ago | 0

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

5 years ago | 0

| accepted

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

5 years ago | 1

Answered
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...

5 years ago | 1

| accepted

Answered
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...

5 years ago | 0

| accepted

Answered
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>.

5 years ago | 0

| accepted

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

5 years ago | 0

| accepted

Answered
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...

5 years ago | 0

Answered
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...

5 years ago | 1

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

5 years ago | 0

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

5 years ago | 3

| accepted

Answered
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...

5 years ago | 0

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

5 years ago | 0

Answered
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...

5 years ago | 1

| accepted

Answered
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...

5 years ago | 0

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

5 years ago | 0

Answered
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 ...

5 years ago | 0

| accepted

Answered
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...

5 years ago | 0

Answered
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).

6 years ago | 0

| accepted

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

6 years ago | 0

| accepted

Answered
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: ...

6 years ago | 1

Answered
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_...

6 years ago | 2

| accepted

Answered
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:...

6 years ago | 0

Answered
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), ...) ...

6 years ago | 0

Answered
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 ...

6 years ago | 1

| accepted

Answered
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...

6 years ago | 0

Load more