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

circa 7 anni fa | 0

| accettato

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

circa 7 anni fa | 0

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

circa 7 anni fa | 0

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

circa 7 anni fa | 0

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

circa 7 anni fa | 0

| accettato

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

circa 7 anni fa | 1

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

circa 7 anni fa | 1

| accettato

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

circa 7 anni fa | 0

| accettato

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

circa 7 anni fa | 0

| accettato

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

circa 7 anni fa | 0

| accettato

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

circa 7 anni fa | 0

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

circa 7 anni fa | 1

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

circa 7 anni fa | 0

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

circa 7 anni fa | 3

| accettato

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

circa 7 anni fa | 0

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

circa 7 anni fa | 0

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

circa 7 anni fa | 1

| accettato

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

circa 7 anni fa | 0

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

circa 7 anni fa | 0

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

circa 7 anni fa | 0

| accettato

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

circa 7 anni fa | 0

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

circa 7 anni fa | 0

| accettato

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

circa 7 anni fa | 0

| accettato

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

circa 7 anni fa | 1

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

circa 7 anni fa | 2

| accettato

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

circa 7 anni fa | 0

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

circa 7 anni fa | 0

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

oltre 7 anni fa | 1

| accettato

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

oltre 7 anni fa | 0

Carica altro