Réponse apportée
Piecewise linear fit without interpolating between every two points
The Signal Processing Toolbox R2016a has this capability. See FINDCHANGEPTS

plus de 9 ans il y a | 0

Réponse apportée
How to display and save rise time, maximum overshoot and settling time
The Signal Processing Toolbox contains the following functions: risetime falltime overshoot undershoot settling...

plus de 9 ans il y a | 0

Réponse apportée
DTW(Dynamic Time Warping Algorithm)
An unconstrained version of DTW is now in the Signal Processing Toolbox

plus de 9 ans il y a | 0

Réponse apportée
How to shift curves and select appropriate peak y-axis values
If you have a relatively recent copy of the Signal Processing Toolbox, have a look at the function "findpeaks". Try setting the...

plus de 9 ans il y a | 0

Réponse apportée
I need to input varying frequency in sine wave how can i do that?
Try looking at the function "vco" in the Signal Processing Toolbox

plus de 9 ans il y a | 0

Réponse apportée
How to find occupied bandwidth
You have a fair amount of noise power, which is swamping your measurement. To see what I mean try (assuming your spectrum is a ...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
How to get Greek letters in text in an IMAGE using Inserttext?
Not sure what version of MATLAB you have, but you can try unicode. Does char(945) work for you? sprintf('%s',char(945))

plus de 9 ans il y a | 0

Réponse apportée
Using the spectrogram function to analyse harmonic content
This plots the first 20 or so harmonics: [y,fs] = audioread('Trumpet_C4.wav'); fund = 262; spectrogram(y(1:20000),kai...

plus de 9 ans il y a | 0

Réponse apportée
how to calculate root means square error of two analog signals
try: rms(sig1 - sig2)

plus de 9 ans il y a | 0

Réponse apportée
Filtering peaks to find number of pulses
It looks like you are using FINDPEAKS to find the flat parts of pulses. This might not be the right approach, but in a pinch, y...

presque 10 ans il y a | 1

Réponse apportée
MinPeakProminence option in findpeaks function absent in Linux versions
The <http://www.mathworks.com/help/signal/release-notes.html Signal Processing Toolbox Release Notes> indicate that this functio...

environ 10 ans il y a | 0

Réponse apportée
Time vector returned by spectrogram
The time instants are roughly those in the _center_ of each window used for the spectrum. The time between estimates is the dif...

plus de 10 ans il y a | 0

Réponse apportée
bandpower, why doesn't percentage power add up?
Looks like you're double-counting frequencies. Try this instead: function output = balance_power_test(data) %Calc...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
Finding a maximum signal variation in MATLAB
You could also try envelope: envelope(data-mean(data),20000,'rms') rmsEnv = envelope(data-mean(data),20000,'rms'); en...

plus de 10 ans il y a | 0

A résolu


Text processing - Help Johnny write a letter home from camp
Johnny overuses the word 'great'. Write a script that will help him with this and future letters. If a sentence contains more ...

presque 11 ans il y a

Réponse apportée
Peak finder - finding major peaks instead of just the smaller ones
You can do: findpeaks(y,'NPeaks',5,'SortStr','descend') This gets you the five with the largest amplitude. If you wan...

presque 11 ans il y a | 1

Réponse apportée
How can I take the values of one array, map the values as indices to another array, then generate a thrid array with the sum of former's elements??
You can use ACCUMARRAY. ACCUMARRAY is designed to take column vectors, not row vectors. So use this: accumarray(A(:),B(:)...

presque 11 ans il y a | 1

| A accepté

Réponse apportée
how to use 'pskmod'
You'll want to convert from integer to double precision first. txpsk = pskmod(double(msg),M);

presque 11 ans il y a | 0

Réponse apportée
Computation of mean and standard deviation after supressing NaNs of an array
You can use mean(x,'omitnan') in R2015a. If you have the Statistics Toolbox, you can use nanmean. Otherwise, try this: ...

presque 11 ans il y a | 0

Réponse apportée
How to find the highest peaks in an audio signal?
Try something like this to get you started: y = audioread('U1_S1_T1.wav') yLeft = y(:,1); yrmsenvLeft = sqrt(conv(yLe...

presque 11 ans il y a | 2

| A accepté

Réponse apportée
Why is noise required to get expected Magnitude Squared Coherence (mscohere)
You might be thinking of CPSD instead of MSCOHERE. MSCOHERE will normalize CPSD by the PSD of each signal (i.e. Cxy = (abs(Pxy)...

presque 11 ans il y a | 1

| A accepté

Réponse apportée
Fast solver for linear system Ax=b when only x(1) is needed
This seems to work o.k.-ish. det(A(2:end, 2:end)) / det(A) I have no idea how well it compares against the backslash opera...

presque 11 ans il y a | 0

Réponse apportée
Simulink: How to set parameters of AWGN Channel Block ?
Hi Ruozhu, You can adjust the reference impedance of the Spectrum Analyzer by going to the "Spectrum Settings" dialog, under ...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
Need an example for calculating power spectrum density
Hi Stefan, Thanks for the data set. Here's an idea to get you started. % RRintervals is a list of the intervals between...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Need an example for calculating power spectrum density
Hi Stefan, There are numerous programs on MATLAB Central's File Exchange that can extract various features from ECG waveforms...

plus de 11 ans il y a | 0

Réponse apportée
resample lacks appropriate lowpass filtering
I think resample has a higher cutoff frequency to admit more of the Nyquist range. If I'm interpreting your plot correctly, DEC...

plus de 11 ans il y a | 0

Réponse apportée
How do I normalize this signal
Since your peaks appear well-defined and are spaced far enough apart, I would suggest estimating the baseline by using medfilt1(...

plus de 11 ans il y a | 1

Réponse apportée
Peak to Peak Distance Help
It looks like you don't have the Signal Processing Toolbox. You get that error when you try accessing a function that doesn't...

presque 12 ans il y a | 0

Réponse apportée
Find pulse width and cycle & .mfile read/plot
Based upon your second and third pictures, it seems your signal has a low level of 0 and reaches an amplitude of at least 0.5 fo...

plus de 13 ans il y a | 0