Réponse apportée
i have this problem in the picture below ...can u help me about the problem??
sin(x) and cos(x) require parentheses about their arguments. So you need to say sin(u(3)) and cos(u(3))

environ 9 ans il y a | 0

Réponse apportée
Clipping an audio signal
You're clobbering the values in your for-loop. Try defining maxX = max(X) and minX = min(X) before modifying X.

environ 9 ans il y a | 0

Réponse apportée
Disadvantages of using large NFFT value in pwelch/spectrogram
You can mean one of two things by frequency resolution: # The frequency spacing between computed estimates (sometimes called ...

environ 9 ans il y a | 2

Réponse apportée
additional findchangepts function output
I don't think I have a good answer to this. The 'mean' option works by performing a sum residual square error, introducing a co...

environ 9 ans il y a | 0

Réponse apportée
additional findchangepts function output
#2 You can get close to this by running FINDCHANGEPTS once with a given threshold, finding all segments that are too long, and ...

environ 9 ans il y a | 0

Réponse apportée
additional findchangepts function output
#1 Maybe something like: function y = fitchangepts(x, icp, statistic) y = nan(size(x)); K = length(icp); ...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
what is mean Nfft, Nwind, Window and Overlap?
https://www.mathworks.com/help/signal/ref/pwelch.html

environ 9 ans il y a | 0

Réponse apportée
How to use xcorr function in matlab as autocorr
out = xcorr(x,x(25:end))

environ 9 ans il y a | 0

Réponse apportée
Eucliedan Distances In two Arrays
You can also use <https://www.mathworks.com/help/signal/ref/findsignal.html findsignal> if you have a recent copy of the Signal ...

environ 9 ans il y a | 0

Réponse apportée
Trying to make a sudoku puzzle generator
I like your randperm() idea. You can use it to do the scrambling without any for-loops at all. You may safely transform a va...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
Why can't I plot a spectrogram in my GUI?!?
Looks like you're trying to redirect the auto-generated debug plot of the spectrogram to a dedicated figure, and it's failing be...

environ 9 ans il y a | 3

Réponse apportée
Given the coordinates of a centroid, find the nearby pixels with the same color.
Have a look: <https://www.mathworks.com/help/images/ref/edge.html#examples>

environ 9 ans il y a | 0

Réponse apportée
lpc function for smaller intervals
In my version, line 64 generates an error when your input signal is empty (i.e. has no data). Set a trap on it and then cli...

environ 9 ans il y a | 0

Réponse apportée
mean fundamental frequency
If you have a recent copy of the Signal Processing Toolbox, you can search for "meanfreq"

environ 9 ans il y a | 0

Réponse apportée
How can you get the x and y values from plotted points on a quiver plot?
You'll want to get the line handle. Something like: >> hq = quiver([1 2 3],[3 1 2],[4 1 5],[2 1 2]) hq = Qu...

environ 9 ans il y a | 1

| A accepté

Réponse apportée
Why is spectrum.periodogram not recommended, and how to substitute pwelch in it's place?
If you have R2015a or later, try <https://www.mathworks.com/help/signal/ref/medfreq.html medfreq>. The spectrum package is no...

plus de 9 ans il y a | 0

Réponse apportée
Median Frequency(Fmed)
Try: <https://www.mathworks.com/help/signal/ref/medfreq.html medfreq> Introduced in R2015a.

plus de 9 ans il y a | 1

Réponse apportée
How can I find and plot the change in frequency of a signal?
Assuming you have the Signal Processing Toolbox and your data x is uniformly sampled with sample rate Fs: z = hilbert(x); ...

plus de 9 ans il y a | 1

Réponse apportée
How to find a change of slope in signal
Try findchangepts. Look for 'linear'

plus de 9 ans il y a | 0

Réponse apportée
comparing two sentences of strings
Search the internet for "edit distance". MATLAB has a variant that works on real signals, called EDR. It does insertion/deleti...

plus de 9 ans il y a | 0

Réponse apportée
How does DTW penalize stretching ?
Have you tried EDR? It penalizes stretching. It might be helpful to post the data you are trying to compare.

plus de 9 ans il y a | 0

Réponse apportée
How to optimize the parameters in fillgaps function?
I find the default values work for me; but sometimes if I have a big signal with lots of missing values, limiting the length of ...

plus de 9 ans il y a | 0

Réponse apportée
Finding the better function to calculate the Dynamic time warping distance (DTW)
If you have the R2016a Signal Processing Toolbox, have a look at: http://www.mathworks.com/help/signal/ref/dtw.html You'll...

plus de 9 ans il y a | 0

Réponse apportée
medfilt1omitnan error
You might have an older copy of the Signal Processing Toolbox. NaN behavior was added in R2015b.

plus de 9 ans il y a | 0

Réponse apportée
How to use medfilt1 on different computers
If you have an R2016a install but without the Signal Processing Toolbox, you can try looking for MOVMEDIAN.

plus de 9 ans il y a | 1

Réponse apportée
How to fill timeseries data using interpolated data then have a nice contour plot
If you have a copy of the R2016a Signal Processing Toolbox, try fillgaps. Seems to work okay on your density grid (I've lim...

plus de 9 ans il y a | 0

Réponse apportée
Bandpower function produces same results for different bands
You might not be giving it enough data to resolve the lower frequencies. You generally will have a resolution on the order of f...

plus de 9 ans il y a | 0

Réponse apportée
Plotting a peak envelope
If you have HILBERT then you have access to the Signal Processing Toolbox. If you have R2015b or later, try using ENVELOPE: ...

plus de 9 ans il y a | 0

Réponse apportée
How can I perform a piecewise linear fit to data?
If you have the R2016a Signal Processing Toolbox, you can try FINDCHANGEPTS.

plus de 9 ans il y a | 1

Réponse apportée
How to get an "optimal" piecewise linear spline for any functions?
If you have R2016a Signal Processing Toolbox, you can try FINDCHANGEPTS with 'linear' to find the locations.

plus de 9 ans il y a | 0

Charger plus