已回答
Piecewise linear fit without interpolating between every two points
The Signal Processing Toolbox R2016a has this capability. See FINDCHANGEPTS

8 years 前 | 0

已回答
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...

8 years 前 | 0

已回答
DTW(Dynamic Time Warping Algorithm)
An unconstrained version of DTW is now in the Signal Processing Toolbox

8 years 前 | 0

已回答
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...

8 years 前 | 0

已回答
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

8 years 前 | 0

已回答
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 ...

8 years 前 | 0

| 已接受

已回答
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))

8 years 前 | 0

已回答
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...

8 years 前 | 0

已回答
how to calculate root means square error of two analog signals
try: rms(sig1 - sig2)

8 years 前 | 0

已回答
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...

8 years 前 | 1

已回答
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...

9 years 前 | 0

已回答
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...

9 years 前 | 0

已回答
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...

9 years 前 | 1

| 已接受

已回答
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...

9 years 前 | 0

已解决


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

9 years 前

已回答
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...

9 years 前 | 1

已回答
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(:)...

9 years 前 | 1

| 已接受

已回答
how to use 'pskmod'
You'll want to convert from integer to double precision first. txpsk = pskmod(double(msg),M);

9 years 前 | 0

已回答
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: ...

9 years 前 | 0

已回答
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...

9 years 前 | 2

| 已接受

已回答
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)...

9 years 前 | 1

| 已接受

已回答
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...

9 years 前 | 0

已回答
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 ...

9 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 0

已回答
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...

10 years 前 | 0

已回答
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(...

10 years 前 | 1

已回答
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...

11 years 前 | 0

已回答
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...

12 years 前 | 0